Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the #include of sys/stat.h inside the linux "hack" for the stat | Reid Spencer | 2004-12-17 | 1 | -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 Spencer | 2004-12-17 | 1 | -0/+2 |
| | | | | llvm-svn: 19020 | ||||
* | Get rid of some leaks found by VC leak detector. | Reid Spencer | 2004-12-13 | 1 | -0/+5 |
| | | | | | | Patch contributed by Morten Ofsted. llvm-svn: 18889 | ||||
* | Properly implement a fix for PR475 | Chris Lattner | 2004-12-05 | 2 | -13/+15 |
| | | | | llvm-svn: 18537 | ||||
* | Revert this patch, it broke a ton of programs. | Chris Lattner | 2004-12-05 | 1 | -4/+0 |
| | | | | llvm-svn: 18535 | ||||
* | Fix PR475. | Alkis Evlogimenos | 2004-12-05 | 1 | -0/+4 |
| | | | | llvm-svn: 18515 | ||||
* | Remove darwin specific majik | Chris Lattner | 2004-12-03 | 1 | -24/+0 |
| | | | | llvm-svn: 18467 | ||||
* | Do not look here for elegance. | Chris Lattner | 2004-12-03 | 1 | -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 | ||||
* | Remove unneeded cast. | Chris Lattner | 2004-12-01 | 1 | -1/+0 |
| | | | | llvm-svn: 18405 | ||||
* | Fix the JIT when being used from llvm-db | Chris Lattner | 2004-11-30 | 1 | -1/+1 |
| | | | | llvm-svn: 18391 | ||||
* | Use System/DynamicLibrary instead of Support/DynamicLinker | Reid Spencer | 2004-11-29 | 4 | -12/+20 |
| | | | | llvm-svn: 18357 | ||||
* | Rename Emitter.cpp -> JITEmitter.cpp | Chris Lattner | 2004-11-22 | 1 | -20/+20 |
| | | | | llvm-svn: 18132 | ||||
* | Fix the FIXME, nuke the JIT specific forceCompilationOf method. | Chris Lattner | 2004-11-22 | 1 | -11/+0 |
| | | | | llvm-svn: 18131 | ||||
* | These methods are obsolete | Chris Lattner | 2004-11-22 | 1 | -21/+1 |
| | | | | llvm-svn: 18129 | ||||
* | Support targets that require stubs for external functions better | Chris Lattner | 2004-11-22 | 1 | -2/+18 |
| | | | | llvm-svn: 18098 | ||||
* | Clean up DEBUG output | Chris Lattner | 2004-11-21 | 1 | -5/+5 |
| | | | | llvm-svn: 18081 | ||||
* | Allow targets to avoid emitting a stub for EVERY lazily resolved call. In | Chris Lattner | 2004-11-21 | 1 | -9/+30 |
| | | | | | | most cases (e.g. direct calls) no stub is needed. llvm-svn: 18080 | ||||
* | Implement relocation support by adding a target independent resolver interface. | Chris Lattner | 2004-11-20 | 1 | -12/+133 |
| | | | | llvm-svn: 18069 | ||||
* | This method does not exist any longer. | Chris Lattner | 2004-11-20 | 1 | -4/+0 |
| | | | | llvm-svn: 18061 | ||||
* | Add getCurrentPCOffset() and addRelocation() methods. | Chris Lattner | 2004-11-20 | 1 | -6/+40 |
| | | | | | | Add stub support for relocations to finishFunction llvm-svn: 18035 | ||||
* | Add accessor | Chris Lattner | 2004-11-20 | 1 | -0/+4 |
| | | | | llvm-svn: 18030 | ||||
* | Match change in MachineCodeEmitter prototype. | Chris Lattner | 2004-11-19 | 1 | -2/+2 |
| | | | | llvm-svn: 18009 | ||||
* | This is a horrible hack to work around libstdc++ bugs :( | Chris Lattner | 2004-11-19 | 1 | -2/+6 |
| | | | | llvm-svn: 17988 | ||||
* | Now that we have ghost linkage, we can force resolution of external symbols | Chris Lattner | 2004-11-15 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | immediately instead of lazily. In this program, for example: int main() { printf("hello world\n"); printf("hello world\n"); printf("hello world\n"); printf("hello world\n"); } We used to have to go through compilation callback 4 times (once for each call to printf), now we don't go to it at all. Thanks to Misha for noticing this, and for adding the initial ghost linkage patches. llvm-svn: 17864 | ||||
* | There is no reason to try to materialize the function from bytecode if it | Chris Lattner | 2004-11-15 | 1 | -9/+12 |
| | | | | | | already has been. This may be a small speedup. llvm-svn: 17863 | ||||
* | Implement ExecutionEngine::freeMachineCodeForFunction() | Misha Brukman | 2004-11-07 | 3 | -0/+15 |
| | | | | llvm-svn: 17601 | ||||
* | When emitting debug msgs for function stubs, don't truncate the | Brian Gaeke | 2004-10-29 | 1 | -1/+1 |
| | | | | | | | printed pointer value if sizeof(unsigned) != pointer size. Instead, use uintptr_t. llvm-svn: 17338 | ||||
* | Fix library name. | Reid Spencer | 2004-10-28 | 2 | -2/+2 |
| | | | | llvm-svn: 17307 | ||||
* | Change Library Names Not To Conflict With Others When Installed | Reid Spencer | 2004-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 17286 | ||||
* | Changes to support rand48 tests | Reid Spencer | 2004-10-27 | 1 | -0/+15 |
| | | | | llvm-svn: 17284 | ||||
* | Fix the interpreter crash that Michael McCracken found | Chris Lattner | 2004-10-26 | 1 | -0/+1 |
| | | | | llvm-svn: 17239 | ||||
* | Use cleaner quoting and eliminate blank space | Misha Brukman | 2004-10-22 | 1 | -3/+3 |
| | | | | llvm-svn: 17174 | ||||
* | We won't use automake | Reid Spencer | 2004-10-22 | 6 | -2170/+0 |
| | | | | llvm-svn: 17155 | ||||
* | Initial automake generated Makefile template | Reid Spencer | 2004-10-18 | 3 | -0/+2097 |
| | | | | llvm-svn: 17136 | ||||
* | Add support for unreachable | Chris Lattner | 2004-10-16 | 2 | -0/+6 |
| | | | | llvm-svn: 17056 | ||||
* | Add support for undef | Chris Lattner | 2004-10-16 | 1 | -1/+3 |
| | | | | llvm-svn: 17055 | ||||
* | Update to reflect changes in Makefile rules. | Reid Spencer | 2004-10-13 | 3 | -12/+14 |
| | | | | llvm-svn: 16950 | ||||
* | Initial version of automake Makefile.am file. | Reid Spencer | 2004-10-10 | 3 | -0/+71 |
| | | | | llvm-svn: 16885 | ||||
* | Convert code to compile with vc7.1. | Reid Spencer | 2004-09-15 | 1 | -2/+3 |
| | | | | | | Patch contributed by Paolo Invernizzi. Thanks Paolo! llvm-svn: 16368 | ||||
* | Simplify the sys::Memory interface per Chris' request. | Reid Spencer | 2004-09-13 | 1 | -2/+2 |
| | | | | llvm-svn: 16318 | ||||
* | Convert the Emitter to use the lib/System "Memory" interface instead of the | Reid Spencer | 2004-09-11 | 1 | -2/+5 |
| | | | | | | old SystemUtils.h interface to allocate RWX blocks of memory. llvm-svn: 16286 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 7 | -12/+12 |
| | | | | | | | | 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 | ||||
* | Add a special case for argc,argv | Chris Lattner | 2004-08-16 | 1 | -2/+13 |
| | | | | llvm-svn: 15802 | ||||
* | Don't pass too many arguments into runFunction | Chris Lattner | 2004-08-16 | 1 | -8/+15 |
| | | | | llvm-svn: 15801 | ||||
* | Finally, add support for calling arbitrary non-varargs functions. | Chris Lattner | 2004-08-16 | 1 | -9/+58 |
| | | | | llvm-svn: 15799 | ||||
* | Handle all nullary functions, of any valid return type. | Chris Lattner | 2004-08-15 | 1 | -7/+46 |
| | | | | llvm-svn: 15798 | ||||
* | Fine, go all of the way and check that the argument types are correct as well. | Chris Lattner | 2004-08-15 | 1 | -13/+27 |
| | | | | llvm-svn: 15797 | ||||
* | These only really work if returning int or void | Chris Lattner | 2004-08-15 | 1 | -17/+21 |
| | | | | llvm-svn: 15796 | ||||
* | Handle zero arg function case | Chris Lattner | 2004-08-15 | 1 | -1/+5 |
| | | | | llvm-svn: 15794 | ||||
* | Simplify code a bit, print error message always instead of asserting. | Chris Lattner | 2004-08-15 | 1 | -16/+19 |
| | | | | llvm-svn: 15793 |