diff options
author | Julian Lettner <jlettner@apple.com> | 2019-02-20 22:28:11 +0000 |
---|---|---|
committer | Julian Lettner <jlettner@apple.com> | 2019-02-20 22:28:11 +0000 |
commit | b5c4c8343f7c87da118b119f4852f818d2693000 (patch) | |
tree | 1ef98403f5e6c07912574a8cad8c7ed555fa9475 /test/sanitizer_common | |
parent | 6277b3d611a6d4e0abfd37fcf28af5a5c8d6d8ad (diff) | |
download | compiler-rt-b5c4c8343f7c87da118b119f4852f818d2693000.tar.gz |
[LSan] Fix `__sanitizer_print_stack_trace` via fast unwinder
Summary: Quick follow-up to: https://reviews.llvm.org/D58156
Reviewers: vitalybuka
Differential Revision: https://reviews.llvm.org/D58358
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@354522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common')
3 files changed, 2 insertions, 5 deletions
diff --git a/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc b/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc index d74f9c9a1..715282fd7 100644 --- a/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc +++ b/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc @@ -1,9 +1,6 @@ // RUN: %clangxx -O0 %s -o %t && %env_tool_opts=stack_trace_format=DEFAULT %run %t 2>&1 | FileCheck %s // RUN: %env_tool_opts=stack_trace_format='"frame:%n lineno:%l"' %run %t 2>&1 | FileCheck %s --check-prefix=CUSTOM -// FIXME(dliew): Make this test work on Darwin with LSan -// XFAIL: darwin && lsan - #include <sanitizer/common_interface_defs.h> static inline void FooBarBaz() { diff --git a/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc b/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc index 2a3ad6bee..10a47482c 100644 --- a/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc +++ b/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc @@ -11,7 +11,7 @@ // XFAIL: netbsd && !asan // FIXME(dliew): Make this test work with other sanitizers -// XFAIL: darwin && (lsan || tsan || ubsan) +// XFAIL: darwin && (tsan || ubsan) volatile int *null = 0; diff --git a/test/sanitizer_common/TestCases/symbolize_stack.cc b/test/sanitizer_common/TestCases/symbolize_stack.cc index a8fadae41..d6ec49b40 100644 --- a/test/sanitizer_common/TestCases/symbolize_stack.cc +++ b/test/sanitizer_common/TestCases/symbolize_stack.cc @@ -2,7 +2,7 @@ // Test that symbolizer does not crash on frame with large function name. -// FIXME(dliew): Make this test work on Darwin with LSan +// On Darwin LSan reports a false positive // XFAIL: darwin && lsan #include <sanitizer/common_interface_defs.h> |