Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Instantiate a JITMemoryManager for MCJIT Dyld | Jim Grosbach | 2011-03-29 | 2 | -4/+8 | |
| | | | | llvm-svn: 128485 | |||||
* | Runtime dylib simple ARM 24-bit branch relocation support. | Jim Grosbach | 2011-03-23 | 1 | -14/+49 | |
| | | | | llvm-svn: 128184 | |||||
* | Split out relocation resolution into target-specific bits. | Jim Grosbach | 2011-03-23 | 1 | -3/+71 | |
| | | | | llvm-svn: 128173 | |||||
* | Fix double-free of Module. | Jim Grosbach | 2011-03-23 | 1 | -1/+0 | |
| | | | | | | | | The ExecutionEngine constructor already added the module, so there's no need to call addModule() directly. Doing so causes a double-free of the Module at program termination. llvm-svn: 128171 | |||||
* | Start of relocation resolution for the runtime dyld library. | Jim Grosbach | 2011-03-23 | 1 | -21/+130 | |
| | | | | llvm-svn: 128161 | |||||
* | Make sure to report any errors from the runtime dyld. | Jim Grosbach | 2011-03-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 128160 | |||||
* | Tidy up. | Jim Grosbach | 2011-03-22 | 1 | -2/+1 | |
| | | | | llvm-svn: 128096 | |||||
* | Add missing file from previous commit. | Jim Grosbach | 2011-03-22 | 1 | -0/+161 | |
| | | | | llvm-svn: 128095 | |||||
* | Propogate the error message, not just the error state. | Jim Grosbach | 2011-03-22 | 1 | -0/+5 | |
| | | | | llvm-svn: 128094 | |||||
* | Add simple arg passing to MC-JIT and support for exit() call. | Jim Grosbach | 2011-03-22 | 3 | -4/+115 | |
| | | | | | | | | | | | | | Support argument passing simple, common, prototypes directly. More complicated scenarios will require building up a stub function, which the MC-JIT isn't set up to handle yet. Add Intercept.cpp, which is just a copy from ExecutionEngine/JIT for now, to handle looking looking up external symbol names. This probably more properly belongs as part of RuntimeDyld. It'll migrate there as things flesh out more fully. llvm-svn: 128090 | |||||
* | Trailing whitespace. | Jim Grosbach | 2011-03-22 | 5 | -46/+46 | |
| | | | | llvm-svn: 128086 | |||||
* | Fix comment in header. | Eric Christopher | 2011-03-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 128077 | |||||
* | Hook up the MCJIT to the RuntimeDyld library. | Jim Grosbach | 2011-03-22 | 3 | -3/+22 | |
| | | | | | | | | Lots of cleanup to make the interfaces prettier, use the JITMemoryManager, handle multiple functions and modules, etc.. This gets far enough that the MCJIT compiles and runs code, though. llvm-svn: 128052 | |||||
* | Initialize HasError. | Jim Grosbach | 2011-03-22 | 1 | -0/+2 | |
| | | | | llvm-svn: 128049 | |||||
* | Build the new RuntimeDyld library. | Oscar Fuentes | 2011-03-21 | 1 | -0/+1 | |
| | | | | llvm-svn: 128035 | |||||
* | Library-ize the dyld components of llvm-rtdyld. | Jim Grosbach | 2011-03-21 | 4 | -1/+346 | |
| | | | | | | | | | Move the dynamic linking functionality of the llvm-rtdyld program into an ExecutionEngine support library. Update llvm-rtdyld to just load an object file into memory, use the library to process it, then run the _main() function, if one is found. llvm-svn: 128031 | |||||
* | Silence a warning. | Jim Grosbach | 2011-03-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 127918 | |||||
* | Beginnings of MC-JIT code generation. | Jim Grosbach | 2011-03-18 | 2 | -6/+47 | |
| | | | | | | | | | | | Proof-of-concept code that code-gens a module to an in-memory MachO object. This will be hooked up to a run-time dynamic linker library (see: llvm-rtdyld for similarly conceptual work for that part) which will take the compiled object and link it together with the rest of the system, providing back to the JIT a table of available symbols which will be used to respond to the getPointerTo*() queries. llvm-svn: 127916 | |||||
* | Tidy up. Whitespace and 80 column. | Jim Grosbach | 2011-03-16 | 2 | -17/+20 | |
| | | | | llvm-svn: 127721 | |||||
* | Trailing whitespae. | Jim Grosbach | 2011-03-15 | 1 | -34/+34 | |
| | | | | llvm-svn: 127691 | |||||
* | Support unregistering exception frames of functions when they are removed. | Eric Christopher | 2011-03-04 | 2 | -6/+8 | |
| | | | | | | | | Patch by Johannes Schaub! Fixes PR8548 llvm-svn: 127047 | |||||
* | Move library stuff out of the toplevel CMakeLists.txt file. | Oscar Fuentes | 2011-02-18 | 1 | -0/+4 | |
| | | | | llvm-svn: 125968 | |||||
* | Fix libffi usage when it is on a custom path. | Oscar Fuentes | 2011-01-28 | 1 | -9/+1 | |
| | | | | llvm-svn: 124486 | |||||
* | Use the paths to libffi's header and library even when no custom | Oscar Fuentes | 2011-01-27 | 1 | -6/+10 | |
| | | | | | | location was stated with FFI_INCLUDE_DIR/FFI_LIBRARY_DIR. llvm-svn: 124449 | |||||
* | Handles libffi on the CMake build. | Oscar Fuentes | 2011-01-21 | 1 | -0/+16 | |
| | | | | | | Patch by arrowdodger! llvm-svn: 123976 | |||||
* | Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵ | Anton Korobeynikov | 2011-01-10 | 2 | -7/+7 | |
| | | | | | | and fixes here and there. llvm-svn: 123170 | |||||
* | Remove unneeded zero arrays. | Benjamin Kramer | 2010-12-04 | 1 | -4/+2 | |
| | | | | llvm-svn: 120910 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 13 | -16/+16 | |
| | | | | llvm-svn: 120298 | |||||
* | PR5207: change APInt::doubleToBits() and APInt::floatToBits() to be | Jay Foad | 2010-11-28 | 2 | -6/+4 | |
| | | | | | | static methods that return a new APInt. llvm-svn: 120261 | |||||
* | Move getInitialFrameState() to TargetFrameInfo | Anton Korobeynikov | 2010-11-18 | 2 | -1/+4 | |
| | | | | llvm-svn: 119754 | |||||
* | MCJIT: Stub out MCJIT implementation, still doesn't do anything useful. | Daniel Dunbar | 2010-11-17 | 6 | -1/+269 | |
| | | | | llvm-svn: 119509 | |||||
* | lli: Add stub -use-mcjit option, which doesn't currently do anything. | Daniel Dunbar | 2010-11-17 | 1 | -1/+17 | |
| | | | | llvm-svn: 119508 | |||||
* | JIT: More nitty style tweakage, aka territory marking. | Daniel Dunbar | 2010-11-13 | 1 | -192/+140 | |
| | | | | llvm-svn: 118973 | |||||
* | Fix some more 80-col violas. | Daniel Dunbar | 2010-11-13 | 1 | -4/+11 | |
| | | | | llvm-svn: 118959 | |||||
* | Fix 80-col violation / non-sensicalness. | Daniel Dunbar | 2010-11-13 | 1 | -3/+3 | |
| | | | | llvm-svn: 118958 | |||||
* | Move the remaining attribute macros to systematic names based on the attribute | Chandler Carruth | 2010-10-23 | 1 | -1/+1 | |
| | | | | | | name and prefixed with 'LLVM_'. llvm-svn: 117203 | |||||
* | Fix the cleanup process of exception information in JIT. Now JIT | Duncan Sands | 2010-10-21 | 2 | -3/+19 | |
| | | | | | | | deregisters registered by it FDE structures allowing consecutive JIT runs to succeed. Patch by Yuri. Fixes PR8285. llvm-svn: 117004 | |||||
* | Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally." | Michael J. Spencer | 2010-09-13 | 3 | -17/+0 | |
| | | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819 | |||||
* | CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. | Michael J. Spencer | 2010-09-10 | 3 | -0/+17 | |
| | | | | llvm-svn: 113632 | |||||
* | Fix a comment. | NAKAMURA Takumi | 2010-08-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 112535 | |||||
* | EE/JIT: Do not invoke parent's ctors/dtors from main()! (PR3897) | NAKAMURA Takumi | 2010-08-30 | 1 | -0/+12 | |
| | | | | | | | | | | On Mingw and Cygwin, the symbol __main is resolved to callee's(eg. tools/lli) one, to invoke wrong duplicated ctors (and register wrong callee's dtors with atexit(3)). We expect, by callee, ExecutionEngine::runStaticConstructorsDestructors() is called before ExecutionEngine::runFunctionAsMain() is called. llvm-svn: 112474 | |||||
* | remove some dead code. | Chris Lattner | 2010-08-23 | 1 | -246/+0 | |
| | | | | llvm-svn: 111791 | |||||
* | When creating a JIT, try to load the program so that we can resolve symbols | Nick Lewycky | 2010-08-17 | 1 | -0/+3 | |
| | | | | | | against it. This affects Windows. llvm-svn: 111240 | |||||
* | Stop the JIT from refusing to work just because the program it was compiled into | Nick Lewycky | 2010-08-09 | 1 | -5/+0 | |
| | | | | | | was built with -static. llvm-svn: 110564 | |||||
* | Don't call __register_frame from the JIT on systems that use setjmp/longjmp | Bob Wilson | 2010-07-26 | 1 | -2/+2 | |
| | | | | | | | exception handling. Also fix an extra underscore typo in one instance of "__ARM_EABI__". Radar 8236264. llvm-svn: 109451 | |||||
* | remove the dwarf sizing stuff which is now dead, it was | Chris Lattner | 2010-07-22 | 2 | -456/+0 | |
| | | | | | | | "yet another" copy of the dwarf EH emission code that was copied, pasted and slightly hacked up. llvm-svn: 109169 | |||||
* | remove the JIT "NeedsExactSize" feature and supporting logic. | Chris Lattner | 2010-07-22 | 1 | -58/+3 | |
| | | | | llvm-svn: 109167 | |||||
* | Fix indentation. | Duncan Sands | 2010-07-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 108691 | |||||
* | Expose JIT::recompileAndRelinkFunction for use through the C API. | Duncan Sands | 2010-07-19 | 1 | -0/+4 | |
| | | | | | | Patch by Benjamin Saunders. llvm-svn: 108690 | |||||
* | Get rid of a bunch of duplicated ELF enum values. | Eli Friedman | 2010-07-16 | 1 | -5/+5 | |
| | | | | llvm-svn: 108520 |