Duncan Sands
							
						 
						
							 
							
							
							
							
								
							
							
								26ff6f9c54 
								
							 
						 
						
							
							
								
								Add <cstdio> include where needed by gcc-4.4.  
							
							 
							
							... 
							
							
							
							Patch by Samuel Tardieu.
llvm-svn: 57291 
							
						 
						
							2008-10-08 07:23:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2e24e0ca68 
								
							 
						 
						
							
							
								
								open plugins with RTLD_GLOBAL, pointed out by Bram Adams.  
							
							 
							
							... 
							
							
							
							llvm-svn: 53385 
							
						 
						
							2008-07-10 00:52:20 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								a8b7e78f54 
								
							 
						 
						
							
							
								
								Remove uses of llvm/System/IncludeFile.h that are no longer needed.  
							
							 
							
							... 
							
							
							
							llvm-svn: 50695 
							
						 
						
							2008-05-06 01:32:53 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								af305d2342 
								
							 
						 
						
							
							
								
								Remove unused GetAddressOfSymbol()  
							
							 
							
							... 
							
							
							
							Thanks Daniel Dunbar!
llvm-svn: 48340 
							
						 
						
							2008-03-13 16:55:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1f49988a7a 
								
							 
						 
						
							
							
								
								This is a simple fix for getting error messages from dlerror in  
							
							 
							
							... 
							
							
							
							LoadLibraryPermanently. The current code modifies the value of a pointer
that is passed by value, so the caller never gets the message.
Patch by Julien Lerouge!
llvm-svn: 48270 
							
						 
						
							2008-03-12 00:50:01 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								6636210de7 
								
							 
						 
						
							
							
								
								Provide __main hooks for cygwin & mingw32  
							
							 
							
							... 
							
							
							
							llvm-svn: 47479 
							
						 
						
							2008-02-22 10:08:31 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								f64f7fb1b6 
								
							 
						 
						
							
							
								
								Remove use of ltdl  
							
							 
							
							... 
							
							
							
							llvm-svn: 47065 
							
						 
						
							2008-02-13 17:11:39 +00:00  
						
					 
				
					
						
							
							
								 
								Duncan Sands
							
						 
						
							 
							
							
							
							
								
							
							
								48f22f0b80 
								
							 
						 
						
							
							
								
								Fix compile failures with g++-4.3.  
							
							 
							
							... 
							
							
							
							llvm-svn: 45781 
							
						 
						
							2008-01-09 19:42:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							 
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								9050bd1f68 
								
							 
						 
						
							
							
								
								Provide hook for _alloca to make JITing on Cygwin slightly happier :)  
							
							 
							
							... 
							
							
							
							llvm-svn: 44528 
							
						 
						
							2007-12-03 05:30:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8861abe6f2 
								
							 
						 
						
							
							
								
								really fix PR1581, thanks to Daniel Dunbar for pointing  
							
							 
							
							... 
							
							
							
							this out.
llvm-svn: 42448 
							
						 
						
							2007-09-28 20:50:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								364439eb15 
								
							 
						 
						
							
							
								
								Fix PR1581, patch by Timo Savola  
							
							 
							
							... 
							
							
							
							llvm-svn: 40616 
							
						 
						
							2007-07-31 06:00:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								104fc7f823 
								
							 
						 
						
							
							
								
								silence warning  
							
							 
							
							... 
							
							
							
							llvm-svn: 33746 
							
						 
						
							2007-02-01 04:57:00 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								9f900c1f92 
								
							 
						 
						
							
							
								
								Unbreak Darwin.  
							
							 
							
							... 
							
							
							
							llvm-svn: 33375 
							
						 
						
							2007-01-19 22:04:24 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								a96084901c 
								
							 
						 
						
							
							
								
								Help the lli interpreter find the stderr/stdin/stdout symbols. These are  
							
							 
							
							... 
							
							
							
							needed for output to be generated. On Linux these are both global vars and
macro definitions so we have to special case Linux.
llvm-svn: 33374 
							
						 
						
							2007-01-19 21:41:04 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								dcf6f90033 
								
							 
						 
						
							
							
								
								Handle each of stderr/stdin/stdout separately.  
							
							 
							
							... 
							
							
							
							llvm-svn: 33373 
							
						 
						
							2007-01-19 21:30:39 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								750f80e306 
								
							 
						 
						
							
							
								
								Avoid taking the address of a macro by checking to see if stdin is defined  
							
							 
							
							... 
							
							
							
							or not. This allows DynamicLibrary.cpp to compile on Darwin.
llvm-svn: 33064 
							
						 
						
							2007-01-11 00:35:10 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								1b2eeedd85 
								
							 
						 
						
							
							
								
								Allow LLI, in interpreter mode, to find stdin, stdout, and stderr. This is  
							
							 
							
							... 
							
							
							
							a bit of a hack but it lets some of the llvm-test programs run.
llvm-svn: 33058 
							
						 
						
							2007-01-10 19:50:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9543866c27 
								
							 
						 
						
							
							
								
								Guess what happens when asserts are disabled.  :(  
							
							 
							
							... 
							
							
							
							Also, the assert could never fire due to || instead of &&.
llvm-svn: 29977 
							
						 
						
							2006-08-30 20:37:06 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								51e6f68b47 
								
							 
						 
						
							
							
								
								For PR797:  
							
							 
							
							... 
							
							
							
							Final commit for this bug. This removes the last EH holdouts in LLVM
and turns off exception support by using the -fno-exceptions option. This
leads to the following reduction in library and executable sizes:
                DEBUG BUILD                RELEASE BUILD
         before     after   delta     before   after    delta
lib    162,328K  157,616K   4,712    17,864K  16,416K  1,448K
bin    571,444K  557,156K  14,288    63,296K   56,996K 6,300K
Debug   Improvement: 19,000K (2.59%)
Release Improvement:  7,748K (9.55%)
llvm-svn: 29882 
							
						 
						
							2006-08-25 19:54:53 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								082e2a7821 
								
							 
						 
						
							
							
								
								For PR780:  
							
							 
							
							... 
							
							
							
							Put the rest of lib/System into LinkAllVMCore.h. This makes all of
lib/System available to programs that #include LinkALlVMCore.h so that
loadable modules linked into those programs can depend on all of lib/System
being available.
llvm-svn: 29288 
							
						 
						
							2006-07-26 16:55:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8c8858a6c4 
								
							 
						 
						
							
							
								
								Change LoadLibraryPermanently to not throw an exception.  
							
							 
							
							... 
							
							
							
							llvm-svn: 29048 
							
						 
						
							2006-07-07 17:12:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								78b8e977b2 
								
							 
						 
						
							
							
								
								Bug noticed, by inspection.  Filename can be null.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28292 
							
						 
						
							2006-05-14 19:00:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1971e8a77b 
								
							 
						 
						
							
							
								
								Fix iterator invalidation bug, identified by Coverity.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28257 
							
						 
						
							2006-05-12 18:13:11 +00:00  
						
					 
				
					
						
							
							
								 
								Jeff Cohen
							
						 
						
							 
							
							
							
							
								
							
							
								baeb39c969 
								
							 
						 
						
							
							
								
								Add AddSymbol() method to DynamicLibrary to work around Windows limitation  
							
							 
							
							... 
							
							
							
							of being unable to search for symbols in an EXE.  It will also allow other
existing hacks to be improved.
llvm-svn: 25805 
							
						 
						
							2006-01-30 04:33:51 +00:00  
						
					 
				
					
						
							
							
								 
								Misha Brukman
							
						 
						
							 
							
							
							
							
								
							
							
								10468d8a3c 
								
							 
						 
						
							
							
								
								Remove trailing whitespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 21422 
							
						 
						
							2005-04-21 22:55:34 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								c892a0db9f 
								
							 
						 
						
							
							
								
								Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the silly  
							
							 
							
							... 
							
							
							
							gdb debugger doesn't get confused on which file it is reading (the one in
lib/System or the one in lib/System/{Win32,Unix})
llvm-svn: 19426 
							
						 
						
							2005-01-09 23:29:00 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								862ebf5277 
								
							 
						 
						
							
							
								
								Correct the case of a #include directory name, just in case.  
							
							 
							
							... 
							
							
							
							llvm-svn: 19254 
							
						 
						
							2005-01-02 09:45:04 +00:00  
						
					 
				
					
						
							
							
								 
								Jeff Cohen
							
						 
						
							 
							
							
							
							
								
							
							
								683b1a5e3c 
								
							 
						 
						
							
							
								
								Get VC++ building again  
							
							 
							
							... 
							
							
							
							llvm-svn: 19140 
							
						 
						
							2004-12-24 16:26:47 +00:00  
						
					 
				
					
						
							
							
								 
								Jeff Cohen
							
						 
						
							 
							
							
							
							
								
							
							
								039b4abf6c 
								
							 
						 
						
							
							
								
								Eliminate use of ltdl.c when doing a VC++ build.  Because libtool isn't used,  
							
							 
							
							... 
							
							
							
							ltdl's LGPL license would infect all of LLVM.
llvm-svn: 19137 
							
						 
						
							2004-12-24 07:57:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								73a1914131 
								
							 
						 
						
							
							
								
								Fix compilation error on Darwin.  
							
							 
							
							... 
							
							
							
							llvm-svn: 18485 
							
						 
						
							2004-12-04 04:17:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4cf8b36469 
								
							 
						 
						
							
							
								
								Move darwin-specific majik here.  
							
							 
							
							... 
							
							
							
							llvm-svn: 18466 
							
						 
						
							2004-12-03 23:02:42 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								0e6a4fc448 
								
							 
						 
						
							
							
								
								Implement two new functions: LoadLibraryPermanently and  
							
							 
							
							... 
							
							
							
							SearchForAddressOfSymbol.
llvm-svn: 18355 
							
						 
						
							2004-11-29 13:33:28 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								3468ae1a87 
								
							 
						 
						
							
							
								
								We just use ltdl's implementation for this abstraction now. Its portable to  
							
							 
							
							... 
							
							
							
							more platforms than LLVM supports.
llvm-svn: 18352 
							
						 
						
							2004-11-29 12:39:10 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								72a7457a90 
								
							 
						 
						
							
							
								
								Implement the default constructor which causes the current program to be  
							
							 
							
							... 
							
							
							
							opened as if it was a dynamic library so its symbols can be searched too.
llvm-svn: 18341 
							
						 
						
							2004-11-29 10:39:46 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								4a763ca854 
								
							 
						 
						
							
							
								
								Dynamic Library abstraction. This makes the abstraction of a single dynamic  
							
							 
							
							... 
							
							
							
							library (shared library/shared object) whose symbols can be looked up
dynamically. Used for plug-ins.
llvm-svn: 17940 
							
						 
						
							2004-11-18 04:33:39 +00:00