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 Spelling fixes. 2010-03-01 17:51:02 +00:00
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 add dyn_cast_or_null tests, exclude invalid dyn_cast test 2010-07-22 15:37:20 +00:00
CommandLineTest.cpp Fix a compile failure introduced by r82675 on MinGW which doesn't have 2009-09-25 21:07:20 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
IRBuilderTest.cpp Add CreateLifetimeStart and CreateLifetimeEnd to the IRBuilder, with plans to 2011-05-21 23:14:36 +00:00
LeakDetectorTest.cpp Fix death tests in -Asserts builds. 2010-03-17 01:18:45 +00:00
Makefile
ManagedStatic.cpp Add support for tsan annotations (thread sanitizer, a valgrind-based tool). 2011-11-14 20:50:16 +00:00
MathExtrasTest.cpp Fixes warnings emitted by Visual Studio 2010 compiler. 2011-03-01 23:11:57 +00:00
Path.cpp Adds llvm::sys::path::is_separator() to test whether a char is a path separator 2011-02-11 21:24:40 +00:00
raw_ostream_test.cpp Add raw_ostream::write_escaped, for writing escaped strings. 2009-10-17 20:43:08 +00:00
RegexTest.cpp Add Regex::sub, for doing regular expression substitution with backreferences. 2010-02-17 20:08:42 +00:00
SwapByteOrderTest.cpp Merge System into Support. 2010-11-29 18:16:10 +00:00
TimeValue.cpp unittests: Merge SystemTests back into SupportTests. 2010-11-29 22:29:04 +00:00
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 Change all self assignments X=X to (void)X, so that we can turn on a 2010-12-23 00:58:24 +00:00