summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Valgrind.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't define these unless we plan to use them.Nick Lewycky2011-11-281-0/+2
| | | | llvm-svn: 145289
* Move WEAK marking to the declaration.Nick Lewycky2011-11-151-6/+6
| | | | llvm-svn: 144603
* Fix linking for some users who already have tsan enabled code and are trying toNick Lewycky2011-11-151-6/+6
| | | | | | link it against llvm code, by making our definitions weak. "Some users." llvm-svn: 144596
* Add support for tsan annotations (thread sanitizer, a valgrind-based tool).Nick Lewycky2011-11-141-0/+11
| | | | | | | | | | | | 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! llvm-svn: 144567
* Revert previous commit. It seems that whether casting to voidDuncan Sands2011-07-021-1/+1
| | | | | | is valid or not depends on which system you build. llvm-svn: 134321
* Supress gcc-4.5 warning about the result not being used.Duncan Sands2011-07-021-1/+1
| | | | llvm-svn: 134319
* Merge System into Support.Michael J. Spencer2010-11-291-0/+54
llvm-svn: 120298
OpenPOWER on IntegriCloud