| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 29457
|
|
|
|
| |
llvm-svn: 29434
|
|
|
|
| |
llvm-svn: 27037
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 24732
|
|
|
|
|
|
| |
commandline.
llvm-svn: 24730
|
|
|
|
|
|
| |
from .bc files.
llvm-svn: 24575
|
|
|
|
|
|
| |
Attempting to run it will find lli's main, which isn't the desired effect.
llvm-svn: 24569
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 21428
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 16091
|
|
|
|
| |
llvm-svn: 14739
|
|
|
|
| |
llvm-svn: 14623
|
|
|
|
| |
llvm-svn: 13813
|
|
|
|
|
|
| |
the tool.
llvm-svn: 11633
|
|
|
|
| |
llvm-svn: 10631
|
|
|
|
| |
llvm-svn: 10614
|
|
|
|
| |
llvm-svn: 10613
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
llvm-svn: 10607
|
|
|
|
|
|
| |
Use a clearer error message when we fail to load a program.
llvm-svn: 10414
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
|
|
| |
program
llvm-svn: 9565
|
|
|
|
|
|
| |
ExecutionEngine::create no longer takes a TraceMode argument.
llvm-svn: 9495
|
|
|
|
| |
llvm-svn: 9308
|
|
|
|
| |
llvm-svn: 9291
|
|
|
|
|
|
| |
* Use the incremental bytecode reader interface to speed up execution
llvm-svn: 9127
|
|
|
|
|
|
|
| |
* Changed tabs to spaces
* Removed a space between a function call and its arguments (...)
llvm-svn: 8712
|
|
|
|
| |
llvm-svn: 8375
|
|
|
|
|
|
| |
Build lli using executionengine library
llvm-svn: 8372
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 8345
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 8135
|
|
|
|
|
|
| |
ad-hoc "Config" flags
llvm-svn: 8134
|
|
|
|
|
|
| |
to change soon though.
llvm-svn: 8123
|
|
|
|
|
|
|
| |
starts a program. This allows the GNU env program to compile and JIT under
LLVM.
llvm-svn: 8022
|
|
|
|
|
|
| |
tools/lli/lli.cpp:main().
llvm-svn: 6317
|
|
|
|
| |
llvm-svn: 6118
|
|
|
|
| |
llvm-svn: 5838
|
|
|
|
| |
llvm-svn: 5134
|
|
|
|
|
|
| |
the traditional LLI interpreter
llvm-svn: 5125
|
|
|
|
| |
llvm-svn: 4955
|
|
|
|
| |
llvm-svn: 3088
|
|
|
|
| |
llvm-svn: 3084
|
|
|
|
| |
llvm-svn: 2985
|
|
|
|
|
|
|
|
| |
from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400
|