Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add <cstdio> include where needed by gcc-4.4. | Duncan Sands | 2008-10-08 | 1 | -0/+1 |
| | | | | | | Patch by Samuel Tardieu. llvm-svn: 57291 | ||||
* | open plugins with RTLD_GLOBAL, pointed out by Bram Adams. | Chris Lattner | 2008-07-10 | 1 | -1/+1 |
| | | | | llvm-svn: 53385 | ||||
* | Remove uses of llvm/System/IncludeFile.h that are no longer needed. | Dan Gohman | 2008-05-06 | 1 | -2/+0 |
| | | | | llvm-svn: 50695 | ||||
* | Remove unused GetAddressOfSymbol() | Devang Patel | 2008-03-13 | 1 | -6/+1 |
| | | | | | | Thanks Daniel Dunbar! llvm-svn: 48340 | ||||
* | This is a simple fix for getting error messages from dlerror in | Chris Lattner | 2008-03-12 | 1 | -1/+2 |
| | | | | | | | | | 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 | ||||
* | Provide __main hooks for cygwin & mingw32 | Anton Korobeynikov | 2008-02-22 | 1 | -0/+1 |
| | | | | llvm-svn: 47479 | ||||
* | Remove use of ltdl | Devang Patel | 2008-02-13 | 1 | -69/+17 |
| | | | | llvm-svn: 47065 | ||||
* | Fix compile failures with g++-4.3. | Duncan Sands | 2008-01-09 | 1 | -0/+1 |
| | | | | llvm-svn: 45781 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Provide hook for _alloca to make JITing on Cygwin slightly happier :) | Anton Korobeynikov | 2007-12-03 | 1 | -3/+11 |
| | | | | llvm-svn: 44528 | ||||
* | really fix PR1581, thanks to Daniel Dunbar for pointing | Chris Lattner | 2007-09-28 | 1 | -1/+1 |
| | | | | | | this out. llvm-svn: 42448 | ||||
* | Fix PR1581, patch by Timo Savola | Chris Lattner | 2007-07-31 | 1 | -1/+1 |
| | | | | llvm-svn: 40616 | ||||
* | silence warning | Chris Lattner | 2007-02-01 | 1 | -0/+1 |
| | | | | llvm-svn: 33746 | ||||
* | Unbreak Darwin. | Reid Spencer | 2007-01-19 | 1 | -3/+0 |
| | | | | llvm-svn: 33375 | ||||
* | Help the lli interpreter find the stderr/stdin/stdout symbols. These are | Reid Spencer | 2007-01-19 | 1 | -3/+19 |
| | | | | | | | 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 | ||||
* | Handle each of stderr/stdin/stdout separately. | Reid Spencer | 2007-01-19 | 1 | -0/+4 |
| | | | | llvm-svn: 33373 | ||||
* | Avoid taking the address of a macro by checking to see if stdin is defined | Reid Spencer | 2007-01-11 | 1 | -0/+4 |
| | | | | | | or not. This allows DynamicLibrary.cpp to compile on Darwin. llvm-svn: 33064 | ||||
* | Allow LLI, in interpreter mode, to find stdin, stdout, and stderr. This is | Reid Spencer | 2007-01-10 | 1 | -2/+12 |
| | | | | | | a bit of a hack but it lets some of the llvm-test programs run. llvm-svn: 33058 | ||||
* | Guess what happens when asserts are disabled. :( | Chris Lattner | 2006-08-30 | 1 | -1/+2 |
| | | | | | | Also, the assert could never fire due to || instead of &&. llvm-svn: 29977 | ||||
* | For PR797: | Reid Spencer | 2006-08-25 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | 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 | ||||
* | For PR780: | Reid Spencer | 2006-07-26 | 1 | -0/+2 |
| | | | | | | | | | 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 | ||||
* | Change LoadLibraryPermanently to not throw an exception. | Chris Lattner | 2006-07-07 | 1 | -7/+13 |
| | | | | llvm-svn: 29048 | ||||
* | Bug noticed, by inspection. Filename can be null. | Chris Lattner | 2006-05-14 | 1 | -1/+2 |
| | | | | llvm-svn: 28292 | ||||
* | Fix iterator invalidation bug, identified by Coverity. | Chris Lattner | 2006-05-12 | 1 | -0/+1 |
| | | | | llvm-svn: 28257 | ||||
* | Add AddSymbol() method to DynamicLibrary to work around Windows limitation | Jeff Cohen | 2006-01-30 | 1 | -0/+15 |
| | | | | | | | of being unable to search for symbols in an EXE. It will also allow other existing hacks to be improved. llvm-svn: 25805 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -5/+5 |
| | | | | llvm-svn: 21422 | ||||
* | Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the silly | Reid Spencer | 2005-01-09 | 1 | -1/+1 |
| | | | | | | | 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 | ||||
* | Correct the case of a #include directory name, just in case. | Reid Spencer | 2005-01-02 | 1 | -1/+1 |
| | | | | llvm-svn: 19254 | ||||
* | Get VC++ building again | Jeff Cohen | 2004-12-24 | 1 | -2/+3 |
| | | | | llvm-svn: 19140 | ||||
* | Eliminate use of ltdl.c when doing a VC++ build. Because libtool isn't used, | Jeff Cohen | 2004-12-24 | 1 | -0/+14 |
| | | | | | | ltdl's LGPL license would infect all of LLVM. llvm-svn: 19137 | ||||
* | Fix compilation error on Darwin. | Chris Lattner | 2004-12-04 | 1 | -15/+18 |
| | | | | llvm-svn: 18485 | ||||
* | Move darwin-specific majik here. | Chris Lattner | 2004-12-03 | 1 | -5/+27 |
| | | | | llvm-svn: 18466 | ||||
* | Implement two new functions: LoadLibraryPermanently and | Reid Spencer | 2004-11-29 | 1 | -28/+62 |
| | | | | | | SearchForAddressOfSymbol. llvm-svn: 18355 | ||||
* | We just use ltdl's implementation for this abstraction now. Its portable to | Reid Spencer | 2004-11-29 | 1 | -13/+3 |
| | | | | | | more platforms than LLVM supports. llvm-svn: 18352 | ||||
* | Implement the default constructor which causes the current program to be | Reid Spencer | 2004-11-29 | 1 | -0/+10 |
| | | | | | | opened as if it was a dynamic library so its symbols can be searched too. llvm-svn: 18341 | ||||
* | Dynamic Library abstraction. This makes the abstraction of a single dynamic | Reid Spencer | 2004-11-18 | 1 | -0/+78 |
library (shared library/shared object) whose symbols can be looked up dynamically. Used for plug-ins. llvm-svn: 17940 |