diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-09-08 21:09:43 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-09-08 21:09:43 +0000 |
commit | c6ca7345fbe67ac3b1ea5a23b75daea5a019814f (patch) | |
tree | 728e61b2b6441317b6bbf9327687fec9693d15d7 /test | |
parent | 94345c67bd1cf0378cc8d6ae1764cc5b4578ca07 (diff) |
Revert "Prevent DCE on __lsan_is_turned_off and re-enable test case"
This doesn't fix the failing test. Leave in the comment and the
attribute, since the used attribute is still required.
This partially reverts commit r312824
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@312827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/lsan/TestCases/link_turned_off.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lsan/TestCases/link_turned_off.cc b/test/lsan/TestCases/link_turned_off.cc index 245fd017b..7e1b33e7a 100644 --- a/test/lsan/TestCases/link_turned_off.cc +++ b/test/lsan/TestCases/link_turned_off.cc @@ -3,6 +3,8 @@ // RUN: %clangxx_lsan %s -o %t // RUN: %env_lsan_opts=$LSAN_BASE %run %t // RUN: %env_lsan_opts=$LSAN_BASE not %run %t foo 2>&1 | FileCheck %s +// +// UNSUPPORTED: darwin #include <sanitizer/lsan_interface.h> |