Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for tsan annotations (thread sanitizer, a valgrind-based tool). | Nick Lewycky | 2011-11-14 | 1 | -1/+7 |
| | | | | | | | | | | | | 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 | ||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 |
| | | | | llvm-svn: 120298 | ||||
* | Split the thread-related APIs out into their own file, and add a few more | Owen Anderson | 2009-06-16 | 1 | -20/+4 |
| | | | | | | calls for convenience. llvm-svn: 73512 | ||||
* | Untabification. | Bill Wendling | 2009-05-30 | 1 | -1/+1 |
| | | | | llvm-svn: 72604 | ||||
* | Have llvm_start_multithreaded return a bool indicating whether multithreaded | Owen Anderson | 2009-05-20 | 1 | -2/+3 |
| | | | | | | initialization succeeded or not, rather than just asserting. llvm-svn: 72182 | ||||
* | Add llvm_start_multithreaded(), which starts up the LLVM internals in ↵ | Owen Anderson | 2009-05-20 | 1 | -8/+45 |
| | | | | | | | | thread-safe mode. Provide double-check locking initialization of ManagedStatic's when running in thread-safe mode. llvm-svn: 72151 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Not all managedstatics need object pointers. | Chris Lattner | 2007-02-20 | 1 | -1/+1 |
| | | | | llvm-svn: 34444 | ||||
* | Define this in the correct n/s | Chris Lattner | 2006-09-29 | 1 | -1/+1 |
| | | | | llvm-svn: 30671 | ||||
* | new helper class to provide more explicit management of static ctor/dtors. | Chris Lattner | 2006-09-28 | 1 | -0/+53 |
llvm-svn: 30638 |