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 Add a Sleep() function. 2009-02-08 22:47:39 +00:00
Atomic.h Add atomic multiply and divide operations, built on top of CompareAndSwap. 2009-06-23 21:19:04 +00:00
Disassembler.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
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 Add llvm::sys::getHostTriple and remove 2009-03-31 17:30:15 +00:00
IncludeFile.h Fix a bunch of Doxygen syntax issues. Escape special characters, 2009-03-03 02:55:14 +00:00
LICENSE.TXT Initial implementation of the Path operating system concept. 2004-08-25 06:20:07 +00:00
Memory.h Update the stub and callback code to handle lazy compilation. The stub 2008-10-20 21:39:23 +00:00
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 80-column violation. 2009-02-08 22:48:07 +00:00
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 Add a new 'AddSignalHandler' function to Signals.h that allows 2009-03-04 21:21:36 +00:00
Solaris.h Add support for building on solaris, working around namespace 2008-06-24 17:44:42 +00:00
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 Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00