[PATCH] D14509: Enable tsan-instrumented libcxx on Darwin

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 9 12:44:49 PST 2015


samsonov added inline comments.

================
Comment at: cmake/Modules/AddCompilerRT.cmake:285
@@ +284,3 @@
+  if (APPLE)
+    set(LIBCXX_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
+  endif()
----------------
This should be handled by Clang driver, whenever we link a dynamic library with -fsanitize=thread.


http://reviews.llvm.org/D14509





More information about the llvm-commits mailing list