llvm-6502/unittests/Support
Nick Lewycky 4d0a9ff365 Add support for tsan annotations (thread sanitizer, a valgrind-based tool).
These annotations are disabled entirely when either ENABLE_THREADS is off, or
building a release build. When enabled, they add calls to functions with no
statements to ManagedStatic's getters.

Use these annotations to inform tsan that the race used inside ManagedStatic
initialization is actually benign. Thanks to Kostya Serebryany for helping
write this patch!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144567 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-14 20:50:16 +00:00
..
AllocatorTest.cpp
BlockFrequencyTest.cpp Implement comparison operators for BranchProbability in a way that can't overflow INT64_MAX. 2011-10-24 13:50:56 +00:00
Casting.cpp
CommandLineTest.cpp
ConstantRangeTest.cpp Fix the implementation of ConstantRange::sub(ConstantRange). Patch by Xi Wang! 2011-06-22 21:13:46 +00:00
DataExtractorTest.cpp unittests/Support/DataExtractorTest.cpp: Specify ULL explicitly to a few constants. 2011-09-13 23:23:49 +00:00
EndianTest.cpp
IRBuilderTest.cpp
LeakDetectorTest.cpp
Makefile
ManagedStatic.cpp Add support for tsan annotations (thread sanitizer, a valgrind-based tool). 2011-11-14 20:50:16 +00:00
MathExtrasTest.cpp
Path.cpp
raw_ostream_test.cpp
RegexTest.cpp
SwapByteOrderTest.cpp
TimeValue.cpp
TypeBuilderTest.cpp NULL cannot be portably used as the last argument to a function with __attribute((sentinel)), even though it usually works. Use (void*)0 instead. PR11002. 2011-09-28 20:41:50 +00:00
ValueHandleTest.cpp