[PATCH] D12121: Support: Clean up TSan annotations.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 15:10:36 PDT 2015


pcc created this revision.
pcc added a reviewer: eugenis.
pcc added subscribers: llvm-commits, rnk.

Remove support for Valgrind-based TSan, which hasn't been maintained for a
few years. We now use the TSan annotations only if LLVM is compiled with
-fsanitize=thread. We no longer need the weak function definitions as we
are guaranteed that our program is linked directly with the TSan runtime.

http://reviews.llvm.org/D12121

Files:
  include/llvm/PassSupport.h
  include/llvm/Support/Compiler.h
  include/llvm/Support/ManagedStatic.h
  include/llvm/Support/Valgrind.h
  lib/Support/ManagedStatic.cpp
  lib/Support/Statistic.cpp
  lib/Support/Valgrind.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12121.32461.patch
Type: text/x-patch
Size: 7122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150818/8cc736be/attachment.bin>


More information about the llvm-commits mailing list