aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ManagedStatic.cpp
AgeCommit message (Expand)AuthorFilesLines
2021-03-16Fix for memory leak reported by ValgrindMaksym Wezdecki1-10/+5
2019-08-19[Support] Replace sys::Mutex with their standard equivalents.Benjamin Kramer1-6/+5
2019-08-07Replace llvm::MutexGuard/UniqueLock with their standard equivalentsBenjamin Kramer1-3/+3
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-07-30Remove trailing spaceFangrui Song1-3/+3
2018-05-12[NFC] Remove inaccurate commentJF Bastien1-3/+0
2017-02-05Revamp llvm::once_flag to be closer to std::once_flagKamil Rytarowski1-1/+1
2016-06-29[ManagedStatic] Reimplement double-checked locking with std::atomic.Benjamin Kramer1-12/+3
2016-06-04[LPM] Reinstate r271781 which reinstated r271652 to replace theChandler Carruth1-1/+1
2016-06-04[LPM] Revert r271781 which was a re-commit of r271652.Chandler Carruth1-1/+1
2016-06-04[LPM] Reinstate r271652 to replace the CALL_ONCE_... macro in the legacyChandler Carruth1-1/+1
2016-06-02This is yet another attempt to re-instate r220932 as discussed inChandler Carruth1-4/+11
2016-05-14Revert "Revert "Revert 220932.": "Removing the static initializer in ManagedS...Mehdi Amini1-11/+4
2016-05-14Revert "Revert 220932.": "Removing the static initializer in ManagedStatic.cp...Mehdi Amini1-4/+11
2016-04-18[NFC] Header cleanupMehdi Amini1-1/+0
2015-08-18Support: Clean up TSan annotations.Peter Collingbourne1-0/+1
2014-11-05Revert 220932.Jiangning Liu1-11/+4
2014-10-30Removing the static initializer in ManagedStatic.cpp by using llvm_call_once ...Chris Bieneman1-4/+11
2014-10-14Revert r219638, (r219640 and r219676), "Removing the static destructor from M...NAKAMURA Takumi1-17/+6
2014-10-13Removing the static destructor from ManagedStatic.cpp by controlling the allo...Chris Bieneman1-6/+17
2014-06-21Fix the MinGW builder. Apparently std::call_once andZachary Turner1-17/+10
2014-06-19Remove use of removed function, llvm_stop_multithreadingDavid Blaikie1-2/+0
2014-06-19Kill the LLVM global lock.Zachary Turner1-3/+20
2014-06-16Revert r211066, 211067, 211068, 211069, 211070.Zachary Turner1-23/+5
2014-06-16Kill the LLVM global lock.Zachary Turner1-1/+22
2014-06-16Remove some code churn.Zachary Turner1-1/+1
2014-06-16Remove some more code out into a separate CL.Zachary Turner1-3/+1
2014-06-16Users of the llvm global mutex must now acquire it manually.Zachary Turner1-3/+2
2014-06-10Revert "Remove support for runtime multi-threading."Zachary Turner1-2/+4
2014-06-10Remove support for runtime multi-threading.Zachary Turner1-4/+2
2014-04-17ManagedStatic is never built with a null constructor, remove support for it.David Blaikie1-2/+3
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-1/+1
2014-04-09[C++11] Replace some comparisons with 'nullptr' with simple boolean checks to...Craig Topper1-1/+1
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper1-7/+7
2014-03-03Revert "[C++11] Replace LLVM atomics with std::atomic."Benjamin Kramer1-1/+2
2014-03-03[C++11] Replace LLVM atomics with std::atomic.Benjamin Kramer1-2/+1
2011-11-14Add support for tsan annotations (thread sanitizer, a valgrind-based tool).Nick Lewycky1-1/+7
2010-11-29Merge System into Support.Michael J. Spencer1-1/+1
2009-06-16Split the thread-related APIs out into their own file, and add a few moreOwen Anderson1-20/+4
2009-05-30Untabification.Bill Wendling1-1/+1
2009-05-20Have llvm_start_multithreaded return a bool indicating whether multithreadedOwen Anderson1-2/+3
2009-05-20Add llvm_start_multithreaded(), which starts up the LLVM internals in thread-...Owen Anderson1-8/+45
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
2007-02-20Not all managedstatics need object pointers.Chris Lattner1-1/+1
2006-09-29Define this in the correct n/sChris Lattner1-1/+1
2006-09-28new helper class to provide more explicit management of static ctor/dtors.Chris Lattner1-0/+53