llvm-6502/lib/VMCore
Nick Lewycky 53b2b73643 Remove the last improper use of getGlobalContext() from LLVM.
This caused a race condition where a thread calls ~LLVMContextImpl which calls
Module::dropAllReferences which calls begin() on an empty ilist that would
create the sentinel, which racily accesses the global context.

This can not be fixed by locking inside createSentinel because the lock would
need to be shared with all users of the global context, including those that
reside outside LLVM's own code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137546 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-13 01:04:44 +00:00
..
AsmWriter.cpp Move "atomic" and "volatile" designations on instructions after the opcode 2011-08-12 22:50:01 +00:00
Attributes.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
AutoUpgrade.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
BasicBlock.cpp Initial commit of the 'landingpad' instruction. 2011-08-12 20:24:12 +00:00
CMakeLists.txt Rewrite the CMake build to use explicit dependencies between libraries, 2011-07-29 00:14:25 +00:00
ConstantFold.cpp Convert GetElementPtrInst to use ArrayRef. 2011-07-25 09:48:08 +00:00
ConstantFold.h Convert ConstantFoldGetElementPtr to use ArrayRef. 2011-07-19 15:30:30 +00:00
Constants.cpp strengthen up an assertion: you can't create a constant struct 2011-08-07 04:18:48 +00:00
ConstantsContext.h land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Core.cpp Initial commit of the 'landingpad' instruction. 2011-08-12 20:24:12 +00:00
DebugInfoProbe.cpp Revert unintentional check-in. 2011-06-24 20:48:14 +00:00
DebugLoc.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Dominators.cpp
Function.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Globals.cpp Micro-optimisation in getAliasedGlobal. 2011-08-01 12:28:01 +00:00
GVMaterializer.cpp
InlineAsm.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Instruction.cpp Initial commit of the 'landingpad' instruction. 2011-08-12 20:24:12 +00:00
Instructions.cpp Initial commit of the 'landingpad' instruction. 2011-08-12 20:24:12 +00:00
IntrinsicInst.cpp
IRBuilder.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
LeakDetector.cpp
LeaksContext.h
LLVMContext.cpp Introduce "expect" intrinsic instructions. 2011-07-06 18:22:43 +00:00
LLVMContextImpl.cpp bump pointer allocate LLVM IR types, since they are never deallocated. 2011-07-15 05:49:15 +00:00
LLVMContextImpl.h land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Makefile
Metadata.cpp Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
Module.cpp Remove the last improper use of getGlobalContext() from LLVM. 2011-08-13 01:04:44 +00:00
Pass.cpp
PassManager.cpp Indicate that there are changes if runOfFunction returns saying that there are. 2011-08-08 23:01:10 +00:00
PassRegistry.cpp
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp add ifdef's to let people easily remove these dead api for testing. 2011-08-12 18:08:19 +00:00
Use.cpp
User.cpp Reinstate r133513 (reverted in r133700) with an additional fix for a 2011-06-23 09:09:15 +00:00
Value.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
ValueSymbolTable.cpp
ValueTypes.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Verifier.cpp Initial commit of the 'landingpad' instruction. 2011-08-12 20:24:12 +00:00