[LSan] Support __sanitizer_set_death_callback in standalone LSan.

llvm-svn: 245758
This commit is contained in:
Alexey Samsonov 2015-08-21 23:00:30 +00:00
parent ea788c4bf8
commit fc95c85cb5
2 changed files with 1 additions and 2 deletions

View File

@ -447,7 +447,7 @@ void DoLeakCheck() {
if (common_flags()->exitcode) {
if (common_flags()->coverage)
__sanitizer_cov_dump();
internal__exit(common_flags()->exitcode);
Die();
}
}

View File

@ -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>