Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 2 | -4/+4 | |
| | | | | 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 | |||||
* | 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 | 2 | -0/+11 | |
| | | | | 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 | 1 | -1/+1 | |
| | | | | llvm-svn: 17307 | |||||
* | 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 | 2 | -715/+0 | |
| | | | | llvm-svn: 17155 | |||||
* | Initial automake generated Makefile template | Reid Spencer | 2004-10-18 | 1 | -0/+677 | |
| | | | | llvm-svn: 17136 | |||||
* | Update to reflect changes in Makefile rules. | Reid Spencer | 2004-10-13 | 1 | -4/+5 | |
| | | | | llvm-svn: 16950 | |||||
* | Initial version of automake Makefile.am file. | Reid Spencer | 2004-10-10 | 1 | -0/+37 | |
| | | | | llvm-svn: 16885 | |||||
* | 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 | 3 | -5/+5 | |
| | | | | | | | | 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 | |||||
* | 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 | |||||
* | The cleanup is done. Update comment. | Chris Lattner | 2004-07-11 | 1 | -5/+2 | |
| | | | | llvm-svn: 14761 | |||||
* | Goodbye macro hell, hello nice clean simple extensible code. This change | Chris Lattner | 2004-07-11 | 1 | -55/+13 | |
| | | | | | | | | also gives the JIT the ability to dynamically load targets. e.g. lli -load libparisc.so -march=parisc foo.bc llvm-svn: 14750 | |||||
* | Make error message consistent with the rest of LLVM by saying that bytecode | Reid Spencer | 2004-07-07 | 1 | -2/+2 | |
| | | | | | | is read, not parsed. llvm-svn: 14677 | |||||
* | Fix for bug 391. | Reid Spencer | 2004-07-07 | 1 | -0/+3 | |
| | | | | | | Improve exeception handling around bcreader invocations. llvm-svn: 14674 | |||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 1 | -0/+2 | |
| | | | | llvm-svn: 14622 | |||||
* | Implement PR315: abort, don't warn, when missing external functions encountered | Chris Lattner | 2004-06-01 | 1 | -9/+17 | |
| | | | | | | This fixes some critical problems building libstdc++ on cygwin. llvm-svn: 13934 | |||||
* | Use the SystemUtils.h file to do our dirty work. | Chris Lattner | 2004-05-28 | 1 | -52/+2 | |
| | | | | llvm-svn: 13868 | |||||
* | This code is a real mess, but at least get the JIT *building* on platforms | Chris Lattner | 2004-05-27 | 1 | -0/+8 | |
| | | | | | | | (such as plan 9) without mmap. Of course it won't RUN... but that's another step. :) llvm-svn: 13839 | |||||
* | Implement emitWordAt() for the JIT emitter. | Brian Gaeke | 2004-04-23 | 1 | -0/+5 | |
| | | | | llvm-svn: 13118 | |||||
* | Add a TargetData to the PassManager regardless of the TargetMachine. | Brian Gaeke | 2004-04-14 | 1 | -0/+3 | |
| | | | | | | This should unbreak the Sparc JIT again. llvm-svn: 12949 | |||||
* | My fix for PR274 broke the build on Darwin/PPC. As I'm fairly certain this | Brian Gaeke | 2004-03-10 | 1 | -2/+4 | |
| | | | | | | | bug only affects Linux systems that use GLIBC, I'm going to put ifdefs around the array. llvm-svn: 12269 |