This is an archive of the discontinued LLVM Phabricator instance.

Enable tsan-instrumented libcxx on Darwin
Needs ReviewPublic

Authored by ismailp on Nov 9 2015, 12:27 PM.

Details

Summary

Instrumented libcxx depends on symbols that are exported by TSan RTL.

Diff Detail

Event Timeline

ismailp updated this revision to Diff 39738.Nov 9 2015, 12:27 PM
ismailp retitled this revision from to Enable tsan-instrumented libcxx on Darwin.
ismailp updated this object.
ismailp added subscribers: llvm-commits, zaks.anna.
samsonov added inline comments.Nov 9 2015, 12:44 PM
cmake/Modules/AddCompilerRT.cmake
285

This should be handled by Clang driver, whenever we link a dynamic library with -fsanitize=thread.