[TTC-9] Make LSan compliant with recovery mode when running on top of ASan
authorSlava Barinov <v.barinov@samsung.com>
Thu, 14 Sep 2017 09:42:17 +0000 (12:42 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Thu, 14 Sep 2023 13:41:54 +0000 (16:41 +0300)
commit41e5f654019b873d3b34c267275e4a4421f746a2
treeb3a5dd4572edf4ab6461c5658deb05a4b6dd4d8e
parente6cf435a9a1b41e05eac3511998b79a1103e7e4d
[TTC-9] Make LSan compliant with recovery mode when running on top of ASan

Don't overwrite exit code in LSan when running on top of ASan in recovery mode
to avoid breakage of users code due to found leaks.

Change-Id: I172f59734837d3df350c9e586ace2547ae9f3f23
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
ChangeLog.Tizen
gcc/testsuite/gcc.dg/asan/leak_recover-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/asan/leak_recover-2.c [new file with mode: 0644]