summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
Commit message (Collapse)AuthorAgeFilesLines
...
* Instantiate a JITMemoryManager for MCJIT DyldJim Grosbach2011-03-292-4/+8
| | | | llvm-svn: 128485
* Runtime dylib simple ARM 24-bit branch relocation support.Jim Grosbach2011-03-231-14/+49
| | | | llvm-svn: 128184
* Split out relocation resolution into target-specific bits.Jim Grosbach2011-03-231-3/+71
| | | | llvm-svn: 128173
* Fix double-free of Module.Jim Grosbach2011-03-231-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 Grosbach2011-03-231-21/+130
| | | | llvm-svn: 128161
* Make sure to report any errors from the runtime dyld.Jim Grosbach2011-03-231-1/+2
| | | | llvm-svn: 128160
* Tidy up.Jim Grosbach2011-03-221-2/+1
| | | | llvm-svn: 128096
* Add missing file from previous commit.Jim Grosbach2011-03-221-0/+161
| | | | llvm-svn: 128095
* Propogate the error message, not just the error state.Jim Grosbach2011-03-221-0/+5
| | | | llvm-svn: 128094
* Add simple arg passing to MC-JIT and support for exit() call.Jim Grosbach2011-03-223-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 Grosbach2011-03-225-46/+46
| | | | llvm-svn: 128086
* Fix comment in header.Eric Christopher2011-03-221-1/+1
| | | | llvm-svn: 128077
* Hook up the MCJIT to the RuntimeDyld library.Jim Grosbach2011-03-223-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 Grosbach2011-03-221-0/+2
| | | | llvm-svn: 128049
* Build the new RuntimeDyld library.Oscar Fuentes2011-03-211-0/+1
| | | | llvm-svn: 128035
* Library-ize the dyld components of llvm-rtdyld.Jim Grosbach2011-03-214-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 Grosbach2011-03-181-1/+1
| | | | llvm-svn: 127918
* Beginnings of MC-JIT code generation.Jim Grosbach2011-03-182-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 Grosbach2011-03-162-17/+20
| | | | llvm-svn: 127721
* Trailing whitespae.Jim Grosbach2011-03-151-34/+34
| | | | llvm-svn: 127691
* Support unregistering exception frames of functions when they are removed.Eric Christopher2011-03-042-6/+8
| | | | | | | | Patch by Johannes Schaub! Fixes PR8548 llvm-svn: 127047
* Move library stuff out of the toplevel CMakeLists.txt file.Oscar Fuentes2011-02-181-0/+4
| | | | llvm-svn: 125968
* Fix libffi usage when it is on a custom path.Oscar Fuentes2011-01-281-9/+1
| | | | llvm-svn: 124486
* Use the paths to libffi's header and library even when no customOscar Fuentes2011-01-271-6/+10
| | | | | | location was stated with FFI_INCLUDE_DIR/FFI_LIBRARY_DIR. llvm-svn: 124449
* Handles libffi on the CMake build.Oscar Fuentes2011-01-211-0/+16
| | | | | | Patch by arrowdodger! llvm-svn: 123976
* Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵Anton Korobeynikov2011-01-102-7/+7
| | | | | | and fixes here and there. llvm-svn: 123170
* Remove unneeded zero arrays.Benjamin Kramer2010-12-041-4/+2
| | | | llvm-svn: 120910
* Merge System into Support.Michael J. Spencer2010-11-2913-16/+16
| | | | llvm-svn: 120298
* PR5207: change APInt::doubleToBits() and APInt::floatToBits() to beJay Foad2010-11-282-6/+4
| | | | | | static methods that return a new APInt. llvm-svn: 120261
* Move getInitialFrameState() to TargetFrameInfoAnton Korobeynikov2010-11-182-1/+4
| | | | llvm-svn: 119754
* MCJIT: Stub out MCJIT implementation, still doesn't do anything useful.Daniel Dunbar2010-11-176-1/+269
| | | | llvm-svn: 119509
* lli: Add stub -use-mcjit option, which doesn't currently do anything.Daniel Dunbar2010-11-171-1/+17
| | | | llvm-svn: 119508
* JIT: More nitty style tweakage, aka territory marking.Daniel Dunbar2010-11-131-192/+140
| | | | llvm-svn: 118973
* Fix some more 80-col violas.Daniel Dunbar2010-11-131-4/+11
| | | | llvm-svn: 118959
* Fix 80-col violation / non-sensicalness.Daniel Dunbar2010-11-131-3/+3
| | | | llvm-svn: 118958
* Move the remaining attribute macros to systematic names based on the attributeChandler Carruth2010-10-231-1/+1
| | | | | | name and prefixed with 'LLVM_'. llvm-svn: 117203
* Fix the cleanup process of exception information in JIT. Now JITDuncan Sands2010-10-212-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. Spencer2010-09-133-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. Spencer2010-09-103-0/+17
| | | | llvm-svn: 113632
* Fix a comment.NAKAMURA Takumi2010-08-301-1/+1
| | | | llvm-svn: 112535
* EE/JIT: Do not invoke parent's ctors/dtors from main()! (PR3897)NAKAMURA Takumi2010-08-301-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 Lattner2010-08-231-246/+0
| | | | llvm-svn: 111791
* When creating a JIT, try to load the program so that we can resolve symbolsNick Lewycky2010-08-171-0/+3
| | | | | | against it. This affects Windows. llvm-svn: 111240
* Stop the JIT from refusing to work just because the program it was compiled intoNick Lewycky2010-08-091-5/+0
| | | | | | was built with -static. llvm-svn: 110564
* Don't call __register_frame from the JIT on systems that use setjmp/longjmpBob Wilson2010-07-261-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 wasChris Lattner2010-07-222-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 Lattner2010-07-221-58/+3
| | | | llvm-svn: 109167
* Fix indentation.Duncan Sands2010-07-191-1/+1
| | | | llvm-svn: 108691
* Expose JIT::recompileAndRelinkFunction for use through the C API.Duncan Sands2010-07-191-0/+4
| | | | | | Patch by Benjamin Saunders. llvm-svn: 108690
* Get rid of a bunch of duplicated ELF enum values.Eli Friedman2010-07-161-5/+5
| | | | llvm-svn: 108520
OpenPOWER on IntegriCloud