[PATCH] D20947: [LibFuzzer] Disable building and running LSan tests on Apple platforms because LSan is not currently supported.

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 10:50:08 PDT 2016


kcc added a comment.

Why do you need to disable building the tests? 
I would expect that "REQUIRES: lsan" is enough. No?

You may find that OutOfMemoryTest also does not *fully* work on OSX after my recent changes -- let's fix it separately. 
BTW, it would be lovely if someone can implement lsan support for OSX (i.e. implement StopTheWorld)


================
Comment at: lib/Fuzzer/test/CMakeLists.txt:96
@@ +95,3 @@
+  set(HAS_LSAN 0)
+  message(WARNING "Leak sanitizer is not supported on Apple platforms."
+    " Building and running LibFuzzer leak sanitizer tests is disabled."
----------------
LeakSanitizer

================
Comment at: lib/Fuzzer/test/CMakeLists.txt:97
@@ +96,3 @@
+  message(WARNING "Leak sanitizer is not supported on Apple platforms."
+    " Building and running LibFuzzer leak sanitizer tests is disabled."
+    )
----------------
LeakSanitizer


http://reviews.llvm.org/D20947





More information about the llvm-commits mailing list