forked from OSchip/llvm-project
[LSan] Support __sanitizer_set_death_callback in standalone LSan.
llvm-svn: 245758
This commit is contained in:
parent
ea788c4bf8
commit
fc95c85cb5
|
@ -447,7 +447,7 @@ void DoLeakCheck() {
|
|||
if (common_flags()->exitcode) {
|
||||
if (common_flags()->coverage)
|
||||
__sanitizer_cov_dump();
|
||||
internal__exit(common_flags()->exitcode);
|
||||
Die();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// RUN: %clangxx -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
|
||||
// Check __sanitizer_set_death_callback. Not all sanitizers implement it yet.
|
||||
// XFAIL: lsan
|
||||
// XFAIL: tsan
|
||||
|
||||
#include <sanitizer/common_interface_defs.h>
|
||||
|
|
Loading…
Reference in New Issue