Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Convert some tab stops into spaces. | Duncan Sands | 2010-07-12 | 2 | -3/+3 |
| | | | | llvm-svn: 108130 | ||||
* | first part of JIT support for address of labels, part of PR7264, | Chris Lattner | 2010-07-11 | 3 | -13/+81 |
| | | | | | | patch by Yuri! llvm-svn: 108107 | ||||
* | Handle execution entrypoints with non-integer return types. | Dan Gohman | 2010-06-18 | 1 | -1/+1 |
| | | | | | | Fix from Russel Power in PR7284. llvm-svn: 106271 | ||||
* | improve portability to systems that don't have powf/modf (e.g. solaris 9) | Chris Lattner | 2010-05-15 | 1 | -2/+2 |
| | | | | | | patch by Evzen Muller! llvm-svn: 103876 | ||||
* | Remove the -enable-sjlj-eh option, which doesn't do anything. | Duncan Sands | 2010-05-02 | 1 | -3/+3 |
| | | | | | | | Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. llvm-svn: 102865 | ||||
* | Fix an ancient FIXME. | Dan Gohman | 2010-05-01 | 1 | -3/+1 |
| | | | | llvm-svn: 102827 | ||||
* | Fix the OProfileJITEventListener build after r101844 removed | Jeffrey Yasskin | 2010-04-30 | 1 | -19/+36 |
| | | | | | | | | MachineFunction::DefaultDebugLoc. We now use the same technique as DwarfDebug::beginFunction to find the starting line number for a function. llvm-svn: 102679 | ||||
* | Don't rely upon the MCSymbol "isDefined" method to indicate if a label has been | Bill Wendling | 2010-04-18 | 1 | -2/+2 |
| | | | | | | | emitted or not. The JIT doesn't set that. Look it up in the label location table instead. llvm-svn: 101686 | ||||
* | Formatting changes. No functionality change. | Bill Wendling | 2010-04-18 | 1 | -29/+28 |
| | | | | llvm-svn: 101685 | ||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-17 | 1 | -1/+1 |
| | | | | llvm-svn: 101655 | ||||
* | The JIT calls TidyLandingPads to tidy up the landing pads. However, because the | Bill Wendling | 2010-04-16 | 2 | -4/+8 |
| | | | | | | | | | | | | | | | | JIT doesn't use the MC back-end asm printer to emit labels that it uses, the section for the MCSymbol is never set. And thus the MCSymbol for the EH label isn't marked as "defined". Because of that, TidyLandingPads removes the needed landing pads from the JIT output. This breaks EH for every JIT program. This is a work-around for this limitation. We pass in the label locations map. If the label has a non-zero value, then it was "emitted" by the JIT and TidyLandingPads shouldn't remove that label. A nicer solution would be to mark the MCSymbol as "used" by the JIT and not rely upon the section being set to determine if it's defined or not. llvm-svn: 101453 | ||||
* | Add const qualifiers to CodeGen's use of LLVM IR constructs. | Dan Gohman | 2010-04-15 | 2 | -7/+8 |
| | | | | llvm-svn: 101334 | ||||
* | Don't use DILocation when processing a DebugLoc. | Nicolas Geoffray | 2010-04-14 | 1 | -8/+9 |
| | | | | llvm-svn: 101294 | ||||
* | Use twines to simplify calls to report_fatal_error. For code size and ↵ | Benjamin Kramer | 2010-04-08 | 1 | -4/+2 |
| | | | | | | readability. llvm-svn: 100756 | ||||
* | rename llvm::llvm_report_error -> llvm::report_fatal_error | Chris Lattner | 2010-04-07 | 7 | -27/+27 |
| | | | | llvm-svn: 100709 | ||||
* | Fix OProfileJITEventListener build for new DebugLoc. | Jeffrey Yasskin | 2010-04-05 | 1 | -6/+7 |
| | | | | llvm-svn: 100461 | ||||
* | CurFn is only used for relocations. Use EmissionDetails.MF->getFunction() ↵ | Nicolas Geoffray | 2010-04-04 | 1 | -1/+2 |
| | | | | | | instead. llvm-svn: 100328 | ||||
* | Switch the code generator (except the JIT) onto the new DebugLoc | Chris Lattner | 2010-04-02 | 1 | -13/+12 |
| | | | | | | | | | | | | | | | representation. This eliminates the 'DILocation' MDNodes for file/line/col tuples from -O0 -g codegen. This remove the old DebugLoc class, making it a typedef for DebugLoc, I'll rename NewDebugLoc next. I didn't update the JIT to use the new apis, so it will continue to work, but be as slow as before. Someone should eventually do this or, better yet, rip out the JIT debug info stuff and build the JIT on top of MC. llvm-svn: 100209 | ||||
* | Typo noticed by Duncan. | Torok Edwin | 2010-03-30 | 1 | -1/+1 |
| | | | | llvm-svn: 99918 | ||||
* | Don't overwrite previous value, if it succeeded. | Torok Edwin | 2010-03-30 | 1 | -1/+2 |
| | | | | llvm-svn: 99886 | ||||
* | Honour addGlobalMapping() in the interpreter, if it was used to add mappings for | Torok Edwin | 2010-03-30 | 1 | -0/+1 |
| | | | | | | external Functions (the JIT does honour this). llvm-svn: 99885 | ||||
* | Avoid leaking the memory allocated for GlobalVariables in the interpreter, by | Jeffrey Yasskin | 2010-03-27 | 1 | -3/+32 |
| | | | | | | freeing that memory when the GV is destroyed. llvm-svn: 99706 |