summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceMisha Brukman2005-04-211-5/+5
| | | | llvm-svn: 21422
* Be double sure about including sys/stat.h by wrapping the inclusion inReid Spencer2004-12-201-0/+3
| | | | | | an "#if defined(HAVE_SYS_STAT_H)". llvm-svn: 19069
* Move the #include of sys/stat.h inside the linux "hack" for the statReid Spencer2004-12-171-3/+1
| | | | | | family of functions so it gets noticed if we ever remove this. llvm-svn: 19022
* Only #include sys/stat.h if we're on linux where we have the PR274 problem.Reid Spencer2004-12-171-0/+2
| | | | llvm-svn: 19020
* Remove darwin specific majikChris Lattner2004-12-031-24/+0
| | | | llvm-svn: 18467
* Do not look here for elegance.Chris Lattner2004-12-031-0/+24
| | | | | | | | This fixes the ugly darwin "cannot find symbols starting with __" issue. Thanks for Owen/resistor for testing this out for me. llvm-svn: 18454
* Use System/DynamicLibrary instead of Support/DynamicLinkerReid Spencer2004-11-291-2/+2
| | | | llvm-svn: 18357
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Implement PR315: abort, don't warn, when missing external functions encounteredChris Lattner2004-06-011-9/+17
| | | | | | This fixes some critical problems building libstdc++ on cygwin. llvm-svn: 13934
* My fix for PR274 broke the build on Darwin/PPC. As I'm fairly certain thisBrian Gaeke2004-03-101-2/+4
| | | | | | | bug only affects Linux systems that use GLIBC, I'm going to put ifdefs around the array. llvm-svn: 12269
* Address PR274 - '[JIT] Programs cannot resolve the fstat function'Brian Gaeke2004-03-091-0/+18
| | | | | | | | | by trying to get the compiler to generate an undefined reference for it and related functions which live in libc_nonshared.a on Linux. Linkers... sigh. llvm-svn: 12256
* No longer run atExit functions from run()Chris Lattner2003-12-261-2/+2
| | | | | | | rename run to runFunction Genericize the runFunction code a little bit, though it still stinks llvm-svn: 10610
* Cleanup the JIT as per PR176. This renames the VM class to JIT, and merges theChris Lattner2003-12-201-4/+4
| | | | | | | VM.cpp and JIT.cpp files into JIT.cpp. This also splits some nasty code out into TargetSelect.cpp so that people hopefully won't notice it. :) llvm-svn: 10544
* Finegrainify namespacificationChris Lattner2003-12-081-4/+1
| | | | llvm-svn: 10318
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Change to use GetAddressOfSymbol instead of dlsym.Brian Gaeke2003-10-101-10/+5
| | | | llvm-svn: 9012
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-051-10/+15
| | | | | | | | | | | | | | | Switch Interpreter and JIT's "run" methods to take a Function and a vector of GenericValues. Move (almost all of) the stuff that constructs a canonical call to main() into lli (new methods "callAsMain", "makeStringVector"). Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(), isStopped(), and many dead decls from interpreter. Add linux strdup() support to interpreter. Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look more alike, in preparation for refactoring. atexit() is spelled "atexit", not "at_exit". llvm-svn: 8366
* Clean up code dealing with RTLD_SELF differences on Sparc and X86.Misha Brukman2003-07-281-5/+5
| | | | llvm-svn: 7362
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-1/+1
| | | | | | system. llvm-svn: 7014
* Sparc's dlsym() requires the special operand RTLD_SELF to find a symbol in theMisha Brukman2003-06-041-0/+4
| | | | | | currently-running process. llvm-svn: 6592
* Add support for atexit handlers to the JIT, fixing 2003-05-14-AtExit.cChris Lattner2003-05-141-3/+16
| | | | llvm-svn: 6193
* Fix compilation problems with previous checking *blush*Chris Lattner2003-05-141-3/+4
| | | | llvm-svn: 6191
* Add a framework for intercepting system callsChris Lattner2003-05-141-0/+52
llvm-svn: 6190
OpenPOWER on IntegriCloud