| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | one cannot allocate a global, until one is done initializing the global pointers | Andrew Lenharth | 2005-08-01 | 1 | -5/+5 |
| | | | | | llvm-svn: 22568 | ||||
| * | Keep tabs and trailing spaces out. | Jeff Cohen | 2005-07-30 | 1 | -4/+4 |
| | | | | | llvm-svn: 22565 | ||||
| * | support near allocations for the JIT | Andrew Lenharth | 2005-07-29 | 1 | -33/+73 |
| | | | | | llvm-svn: 22554 | ||||
| * | Like constants, globals on some platforms are GOT relative. This means they ↵ | Andrew Lenharth | 2005-07-28 | 2 | -14/+78 |
| | | | | | | | | | | | | | | | have to be allocated near the GOT, which new doesn't do. So break out the allocate into a new function. Also move GOT index handling into JITResolver. This lets it update the mapping when a Lazy function is JITed. It doesn't managed the table, just the mapping. Note that this is still non-ideal, as any function that takes a function address should also take a GOT index, but that is a lot of changes. The relocation resolve process updates any GOT entry it sees is out of date. llvm-svn: 22537 | ||||
| * | Eliminate all remaining tabs and trailing spaces. | Jeff Cohen | 2005-07-27 | 2 | -11/+11 |
| | | | | | llvm-svn: 22523 | ||||
| * | fix a warning on 32-bit systems | Chris Lattner | 2005-07-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 22513 | ||||
| * | the JIT memory manager will construct a GOT if you want it too. Also, it ↵ | Andrew Lenharth | 2005-07-22 | 1 | -9/+51 |
| | | | | | | | places the constants in the allocated memory, rather than a malloc area llvm-svn: 22497 | ||||
| * | count the number of relocations performed. | Chris Lattner | 2005-07-20 | 1 | -0/+3 |
| | | | | | llvm-svn: 22480 | ||||
| * | For PR540: | Reid Spencer | 2005-07-12 | 3 | -27/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | This patch completes the changes for making lli thread-safe. Here's the list of changes: * The Support/ThreadSupport* files were removed and replaced with the MutexGuard.h file since all ThreadSupport* declared was a Mutex Guard. The implementation of MutexGuard.h is now based on sys::Mutex which hides its implementation and makes it unnecessary to have the -NoSupport.h and -PThreads.h versions of ThreadSupport. * All places in ExecutionEngine that previously referred to "Mutex" now refer to sys::Mutex * All places in ExecutionEngine that previously referred to "MutexLocker" now refer to MutexGuard (this is frivolous but I believe the technically correct name for such a class is "Guard" not a "Locker"). These changes passed all of llvm-test. All we need now are some test cases that actually use multiple threads. llvm-svn: 22404 | ||||
| * | Make the stub functions be tail calls | Chris Lattner | 2005-05-06 | 1 | -1/+2 |
| | | | | | llvm-svn: 21738 | ||||
| * | Convert tabs to spaces | Misha Brukman | 2005-04-22 | 1 | -1/+1 |
| | | | | | llvm-svn: 21440 | ||||
| * | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 5 | -24/+24 |
| | | | | | llvm-svn: 21422 | ||||
| * | Add support for targets that require stubs for external functions. | Chris Lattner | 2005-04-18 | 1 | -2/+27 |
| | | | | | llvm-svn: 21313 | ||||
| * | Fix the missing symbols problem Bill was hitting. Patch contributed by | Chris Lattner | 2005-03-17 | 1 | -0/+1 |
| | | | | | | | Bill Wendling!! llvm-svn: 20649 | ||||
| * | Fix problems running the HowToUseJIT on powerpc, and probably problems with | Chris Lattner | 2005-02-20 | 1 | -2/+2 |
| | | | | | | | ANY program that does not have all functions internalized. llvm-svn: 20258 | ||||
| * | Rework constant pool handling so that function constant pools are no longer | Chris Lattner | 2005-01-10 | 1 | -21/+24 |
| | | | | | | | | leaked to the system. Now they are destroyed with the JITMemoryManager is destroyed. llvm-svn: 19434 | ||||
| * | Silence VS warnings. | Chris Lattner | 2005-01-08 | 2 | -2/+3 |
| | | | | | llvm-svn: 19390 | ||||
| * | Be double sure about including sys/stat.h by wrapping the inclusion in | Reid Spencer | 2004-12-20 | 1 | -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 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 | 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 | ||||

