[TTC-9] Make LSan compliant with recovery mode when running on top of ASan 63/150163/4
authorSlava Barinov <v.barinov@samsung.com>
Thu, 14 Sep 2017 09:42:17 +0000 (12:42 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 19 Oct 2017 23:49:38 +0000 (08:49 +0900)
commit60af37c3341505774d6aec59def8c2fa284e10d7
tree8f4e2a8903ab72ecf3dbc3ab2e1da2dd62464165
parent5827371affb63bc4b527847371990b20065df667
[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]
libsanitizer/asan/asan_rtl.cc
libsanitizer/lsan/lsan_common.cc
libsanitizer/lsan/lsan_common.h