summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/DynamicLibrary.cpp
Commit message (Collapse)AuthorAgeFilesLines
* silence warningChris Lattner2007-02-011-0/+1
| | | | llvm-svn: 33746
* Unbreak Darwin.Reid Spencer2007-01-191-3/+0
| | | | llvm-svn: 33375
* Help the lli interpreter find the stderr/stdin/stdout symbols. These areReid Spencer2007-01-191-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 Spencer2007-01-191-0/+4
| | | | llvm-svn: 33373
* Avoid taking the address of a macro by checking to see if stdin is definedReid Spencer2007-01-111-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 isReid Spencer2007-01-101-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 Lattner2006-08-301-1/+2
| | | | | | Also, the assert could never fire due to || instead of &&. llvm-svn: 29977
* For PR797:Reid Spencer2006-08-251-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 Spencer2006-07-261-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 Lattner2006-07-071-7/+13
| | | | llvm-svn: 29048
* Bug noticed, by inspection. Filename can be null.Chris Lattner2006-05-141-1/+2
| | | | llvm-svn: 28292
* Fix iterator invalidation bug, identified by Coverity.Chris Lattner2006-05-121-0/+1
| | | | llvm-svn: 28257
* Add AddSymbol() method to DynamicLibrary to work around Windows limitationJeff Cohen2006-01-301-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 whitespaceMisha Brukman2005-04-211-5/+5
| | | | llvm-svn: 21422
* Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the sillyReid Spencer2005-01-091-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 Spencer2005-01-021-1/+1
| | | | llvm-svn: 19254
* Get VC++ building againJeff Cohen2004-12-241-2/+3
| | | | llvm-svn: 19140
* Eliminate use of ltdl.c when doing a VC++ build. Because libtool isn't used,Jeff Cohen2004-12-241-0/+14
| | | | | | ltdl's LGPL license would infect all of LLVM. llvm-svn: 19137
* Fix compilation error on Darwin.Chris Lattner2004-12-041-15/+18
| | | | llvm-svn: 18485
* Move darwin-specific majik here.Chris Lattner2004-12-031-5/+27
| | | | llvm-svn: 18466
* Implement two new functions: LoadLibraryPermanently andReid Spencer2004-11-291-28/+62
| | | | | | SearchForAddressOfSymbol. llvm-svn: 18355
* We just use ltdl's implementation for this abstraction now. Its portable toReid Spencer2004-11-291-13/+3
| | | | | | more platforms than LLVM supports. llvm-svn: 18352
* Implement the default constructor which causes the current program to beReid Spencer2004-11-291-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 dynamicReid Spencer2004-11-181-0/+78
library (shared library/shared object) whose symbols can be looked up dynamically. Used for plug-ins. llvm-svn: 17940
OpenPOWER on IntegriCloud