[compiler-rt] r312827 - Revert "Prevent DCE on __lsan_is_turned_off and re-enable test case"

Francis Ricci via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 14:09:44 PDT 2017


Author: fjricci
Date: Fri Sep  8 14:09:43 2017
New Revision: 312827

URL: http://llvm.org/viewvc/llvm-project?rev=312827&view=rev
Log:
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

Modified:
    compiler-rt/trunk/test/lsan/TestCases/link_turned_off.cc

Modified: compiler-rt/trunk/test/lsan/TestCases/link_turned_off.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lsan/TestCases/link_turned_off.cc?rev=312827&r1=312826&r2=312827&view=diff
==============================================================================
--- compiler-rt/trunk/test/lsan/TestCases/link_turned_off.cc (original)
+++ compiler-rt/trunk/test/lsan/TestCases/link_turned_off.cc Fri Sep  8 14:09:43 2017
@@ -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>
 




More information about the llvm-commits mailing list