llvm-6502/include/llvm
Chris Lattner a9b7d60d67 Eliminate the static constructors and locks from DynamicLibrary.cpp.
This fixes PR4512 and eliminating static ctors is always good.  Losing
thread safety is unfortunate, but the code is just incredibly poorly
designed.

If someone is interested, the "right" solution is to split
DynamicLibrary.cpp into two separate pieces: a stateless piece in
libsystem, and a simple support file in libsupport that has the
"state" (e.g.  AddSymbol) in managed static objects.

Doing this would both fix memory leaks we already have, as well as make
the code thread safe again.  it would also make sense to move all the
unix specific code in System/DynamicLibrary.cpp into 
System/Unix/DynamicLibrary.inc.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74927 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-07 18:17:07 +00:00
..
ADT
Analysis Re-LLVMContext-ize DebugInfo, now with less breakage. 2009-07-07 17:12:53 +00:00
Assembly switch the .ll parser into SMDiagnostic. 2009-07-02 22:46:18 +00:00
Bitcode Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
CodeGen Add isMetadata() to check metadata operand. 2009-07-06 23:46:02 +00:00
CompilerDriver s/llvmc2/llvmc/ 2009-07-07 16:09:05 +00:00
Config Have cmake define HAVE_STRERROR and friends to 1 when they're defined at all. 2009-07-04 16:37:12 +00:00
Debugger Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
ExecutionEngine
MC
Support Introduce new error handling API. 2009-07-07 17:32:34 +00:00
System Eliminate the static constructors and locks from DynamicLibrary.cpp. 2009-07-07 18:17:07 +00:00
Target Add the Object Code Emitter class. Original patch by Aaron Gray, I did some 2009-07-06 05:09:34 +00:00
Transforms "LLVMContext* " --> "LLVMContext *" 2009-07-06 23:00:19 +00:00
AbstractTypeUser.h
Argument.h
Attributes.h
AutoUpgrade.h
BasicBlock.h "LLVMContext* " --> "LLVMContext *" 2009-07-06 23:00:19 +00:00
CallGraphSCCPass.h
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h
DerivedTypes.h
Function.h "LLVMContext* " --> "LLVMContext *" 2009-07-06 23:00:19 +00:00
GlobalAlias.h
GlobalValue.h Revert r73790, and replace it with a significantly less ugly solution. Rather than trying to make the global reader-writer lock work, 2009-06-20 00:24:58 +00:00
GlobalVariable.h
InlineAsm.h
InstrTypes.h
Instruction.def
Instruction.h
Instructions.h
IntrinsicInst.h
Intrinsics.h
Intrinsics.td
IntrinsicsAlpha.td
IntrinsicsARM.td
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsX86.td
IntrinsicsXCore.td
LinkAllPasses.h Add Static Single Information construction pass written by André Tavares! 2009-07-03 19:28:36 +00:00
LinkAllVMCore.h
Linker.h Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
LLVMContext.h This parameter should default to true, not false. 2009-07-07 16:56:05 +00:00
MDNode.h
Module.h Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
ModuleProvider.h
OperandTraits.h
Pass.h "LLVMContext* " --> "LLVMContext *" 2009-07-06 23:00:19 +00:00
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassSupport.h
SymbolTableListTraits.h
Type.h There are five floating point types. 2009-07-05 22:35:49 +00:00
TypeSymbolTable.h
Use.h
User.h
Value.h
ValueSymbolTable.h