summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/lli.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix the build on case-sensitive filesystems :(Chris Lattner2006-08-011-1/+1
| | | | llvm-svn: 29457
* Introducing plugable register allocators and instruction schedulers.Jim Laskey2006-08-011-0/+1
| | | | llvm-svn: 29434
* Get JIT/Interpreter working on Windows again.Jeff Cohen2006-03-241-1/+2
| | | | llvm-svn: 27037
* Fit to 80 columns.Chris Lattner2006-03-081-7/+14
| | | | | | | Add support for running static ctor/dtors that aren't handled by __main. This fixes programs with the JIT and the new CFE, such as HBD. llvm-svn: 26620
* rename optionChris Lattner2005-12-161-1/+1
| | | | llvm-svn: 24732
* provide an option to override the target triple in a module from the ↵Chris Lattner2005-12-161-1/+7
| | | | | | commandline. llvm-svn: 24730
* Revert my previous patch which broke due to lazy streaming of functionsChris Lattner2005-12-021-1/+1
| | | | | | from .bc files. llvm-svn: 24575
* If a module has a main, but it is defined externally, refuse to run it.Chris Lattner2005-12-011-1/+1
| | | | | | Attempting to run it will find lli's main, which isn't the desired effect. llvm-svn: 24569
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-231-1/+2
| | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888
* Remove trailing whitespaceMisha Brukman2005-04-221-2/+2
| | | | llvm-svn: 21428
* For PR351:Reid Spencer2004-12-301-55/+62
| | | | | | | | | | * Place a try/catch block around the entire tool to Make sure std::string exceptions are caught and printed before exiting the tool. * Make sure we catch unhandled exceptions at the top level so that we don't abort with a useless message but indicate than an unhandled exception was generated. llvm-svn: 19192
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | 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
* The functions in Signal.h are now in the llvm::sys namespace - adjustReid Spencer2004-08-291-1/+1
| | | | llvm-svn: 16091
* Add a -load optionChris Lattner2004-07-111-0/+1
| | | | llvm-svn: 14739
* Add #include <iostream> since Value.h does not include it any more.Reid Spencer2004-07-041-0/+1
| | | | llvm-svn: 14623
* Header file movedChris Lattner2004-05-271-1/+1
| | | | llvm-svn: 13813
* Make sure to print a stack trace whenever an error signal is delivered toChris Lattner2004-02-191-0/+2
| | | | | | the tool. llvm-svn: 11633
* Pass extra arguments around n stuphChris Lattner2003-12-281-2/+1
| | | | llvm-svn: 10631
* Factor out code to ExecutionEngineChris Lattner2003-12-261-50/+10
| | | | llvm-svn: 10614
* Simplify codeChris Lattner2003-12-261-42/+24
| | | | llvm-svn: 10613
* * eliminate the -f argument to lli, as it was silly and never useful anywayChris Lattner2003-12-261-36/+32
| | | | | | | | * Inline callMain function * Remove hack from the ExecutionEngines where the 'run' method would automatically run atExit functions. Fixing this requires explicitly calling exit if main returns llvm-svn: 10611
* update commentChris Lattner2003-12-261-6/+3
| | | | llvm-svn: 10607
* Add an assertion to make sure we are at least getting argv[0] right.Brian Gaeke2003-12-121-1/+2
| | | | | | Use a clearer error message when we fail to load a program. llvm-svn: 10414
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+2
| | | | llvm-svn: 9903
* Add the ability for users to specify a specific argv[0] to pass into theChris Lattner2003-10-281-7/+16
| | | | | | program llvm-svn: 9565
* TraceMode, as you may have heard, is history.Brian Gaeke2003-10-241-3/+1
| | | | | | ExecutionEngine::create no longer takes a TraceMode argument. llvm-svn: 9495
* Removed extraneous comment line.John Criswell2003-10-201-1/+0
| | | | llvm-svn: 9308
* Added copyright header to all C++ source files.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9291
* Enabling incremental bytecode loading in the JIT:Misha Brukman2003-10-141-11/+15
| | | | | | * Use the incremental bytecode reader interface to speed up execution llvm-svn: 9127
* To be consistent with the rest of LLVM codebase (and the rest of this file):Misha Brukman2003-09-251-27/+27
| | | | | | | * Changed tabs to spaces * Removed a space between a function call and its arguments (...) llvm-svn: 8712
* Reorder #includes to follow LLVM conventionsChris Lattner2003-09-051-5/+5
| | | | llvm-svn: 8375
* Interpreter, JIT moved to lib/ExecutionEngine (includes -> llvm/ExecutionEngine)Brian Gaeke2003-09-051-2/+2
| | | | | | Build lli using executionengine library llvm-svn: 8372
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-051-2/+79
| | | | | | | | | | | | | | | Switch Interpreter and JIT's "run" methods to take a Function and a vector of GenericValues. Move (almost all of) the stuff that constructs a canonical call to main() into lli (new methods "callAsMain", "makeStringVector"). Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(), isStopped(), and many dead decls from interpreter. Add linux strdup() support to interpreter. Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look more alike, in preparation for refactoring. atexit() is spelled "atexit", not "at_exit". llvm-svn: 8366
* Move EE dtor where it belongsBrian Gaeke2003-09-041-8/+0
| | | | llvm-svn: 8345
* Interpreter cleanups:Brian Gaeke2003-09-041-4/+2
| | | | | | | | | | | | Get rid of support for DebugMode (make it always off). Mung some comments. Get rid of interpreter's PROFILE_STRUCTURE_FIELDS and PerformExitStuff which have been disabled forever. Get rid of -abort-on-exception (make it always on). Get rid of user interaction stuff (debug mode innards). Simplify Interpreter's callMainFunction(). llvm-svn: 8344
* ExecutionEngine.cpp: Move execution engine creation stuff into a newBrian Gaeke2003-09-031-9/+3
| | | | | | | | | | | | | | | | | | static method here. Remove some extra blank lines. ExecutionEngine.h: Add its prototype. lli.cpp: Call it. Make creation method for each type of EE into a static method of its own subclass. Interpreter/Interpreter.cpp: ExecutionEngine::createInterpreter --> Interpreter::create Interpreter/Interpreter.h: Likewise. JIT/JIT.cpp: ExecutionEngine::createJIT --> VM::create JIT/VM.h: Likewise. llvm-svn: 8343
* Remove some long-dead codeChris Lattner2003-08-241-16/+0
| | | | llvm-svn: 8135
* Targets now configure themselves based on the source module, not on theChris Lattner2003-08-241-6/+2
| | | | | | ad-hoc "Config" flags llvm-svn: 8134
* Add preliminary support for "any" pointersize/endianness. This will needChris Lattner2003-08-241-2/+4
| | | | | | to change soon though. llvm-svn: 8123
* The JIT now passes the environment pointer to the main() function when itJohn Criswell2003-08-211-2/+2
| | | | | | | starts a program. This allows the GNU env program to compile and JIT under LLVM. llvm-svn: 8022
* Remove ".bc" from the end of InputFile if it is there, inBrian Gaeke2003-05-231-0/+7
| | | | | | tools/lli/lli.cpp:main(). llvm-svn: 6317
* The JIT is the default mode for LLI nowChris Lattner2003-05-121-1/+1
| | | | llvm-svn: 6118
* Build the appropriate target machine for the input pointer size and endiannessChris Lattner2003-04-221-4/+2
| | | | llvm-svn: 5838
* Fixes to compile with GCC 3.2Chris Lattner2002-12-241-4/+4
| | | | llvm-svn: 5134
* Substantial changes to refactor LLI to incorporate both the Jello JIT andChris Lattner2002-12-231-59/+75
| | | | | | the traditional LLI interpreter llvm-svn: 5125
* Add support to count the number of dynamic instructions executed by LLIChris Lattner2002-12-081-4/+1
| | | | llvm-svn: 4955
* Namespace correctness is goodChris Lattner2002-07-251-2/+2
| | | | llvm-svn: 3088
* REmove extra blank linesChris Lattner2002-07-251-2/+0
| | | | llvm-svn: 3084
* *** empty log message ***Chris Lattner2002-07-221-14/+28
| | | | llvm-svn: 2985
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-1/+1
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
OpenPOWER on IntegriCloud