llvm-6502/include/llvm/System
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
..
Alarm.h
Atomic.h Add atomic multiply and divide operations, built on top of CompareAndSwap. 2009-06-23 21:19:04 +00:00
Disassembler.h
DynamicLibrary.h Eliminate the static constructors and locks from DynamicLibrary.cpp. 2009-07-07 18:17:07 +00:00
Errno.h Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes the 2009-07-01 18:11:20 +00:00
Host.h
IncludeFile.h
LICENSE.TXT
Memory.h
Mutex.h Add debugging code to test for various locking faux-pas's, when running in single threaded mode. This should help improve testing coverage for 2009-06-20 00:27:21 +00:00
Path.h add a new static method to portably determine whether a patch is 2009-06-15 04:17:07 +00:00
Process.h Fix comments. 2009-06-04 08:18:25 +00:00
Program.h
RWMutex.h Add debugging code to test for various locking faux-pas's, when running in single threaded mode. This should help improve testing coverage for 2009-06-20 00:27:21 +00:00
Signals.h
Solaris.h
Threading.h Move Threading.[h|cpp] from Support to System. 2009-06-18 16:54:52 +00:00
ThreadLocal.h Add support for const thread locals. 2009-06-25 23:31:18 +00:00
TimeValue.h