| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
CurFrame, TraceMode, and the CachedWriter are history.
ArrayChecksEnabled and non-QuietMode are history.
The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.
ExecutionContext now keeps Values for each stack frame in a std::map.
Stop pre-initializing Values on the stack to 42.
Remove some dead variables, excess whitespace and commented-out code.
executeInstruction() is now part of run().
printValue() and print() are history.
llvm-svn: 9489
|
|
|
|
| |
llvm-svn: 9488
|
|
|
|
|
|
|
| |
recompile and relink. This keeps it from failing an assertion when
it goes and tries to construct a new MachineFunction for that Function.
llvm-svn: 9459
|
|
|
|
| |
llvm-svn: 9321
|
|
|
|
| |
llvm-svn: 9312
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 9283
|
|
|
|
| |
llvm-svn: 9222
|
|
|
|
|
|
|
| |
ModuleProvider, which has bad consequences in lli::callAsMain() which tries to
access that same Module*.
llvm-svn: 9205
|
|
|
|
|
|
| |
Add prototypes for recompileAndRelinkFunction() and runJITOnFunction().
llvm-svn: 9200
|
|
|
|
|
|
|
|
|
| |
runJITOnFunction().
Add new method for recompiling and patching in new versions of functions,
recompileAndRelinkFunction().
llvm-svn: 9199
|
|
|
|
| |
llvm-svn: 9184
|
|
|
|
|
|
|
|
|
|
|
|
| |
* #include "llvm/ModuleProvider"
* alphabetize #includes
* omit extraneous parens in pointer expressions
VM.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes
llvm-svn: 9182
|
|
|
|
|
|
|
|
| |
* Move the constructors from .h file here
* Document ExecutionEngine::create()
* Catch exception possibly thrown by ModuleProvider::releaseModule()
llvm-svn: 9181
|
|
|
|
| |
llvm-svn: 9128
|
|
|
|
|
|
| |
* The VM is now constructed with a ModuleProvider
llvm-svn: 9125
|
|
|
|
|
|
| |
* ExecutionEngine and VM can be constructed using a ModuleProvider.
llvm-svn: 9124
|
|
|
|
|
|
|
| |
Linux. This is consistent with what FreeBSD and Solaris both want.
This makes the JIT work on FreeBSD 5.1-RELEASE. Whee.
llvm-svn: 9045
|
|
|
|
| |
llvm-svn: 9031
|
|
|
|
|
|
|
| |
* Doxygenified function comments
* Added FIXMEs to solicit documentation for other functions
llvm-svn: 9022
|
|
|
|
| |
llvm-svn: 9021
|
|
|
|
|
|
| |
Never call setjmp(), longjmp() or strsignal().
llvm-svn: 9014
|
|
|
|
|
|
|
|
|
| |
In lookupFunction():
Change to use "F" for Function argument instead of ancient "M".
Remove commented-out code.
Change to use GetAddressOfSymbol instead of dlsym.
llvm-svn: 9013
|
|
|
|
| |
llvm-svn: 9012
|
|
|
|
| |
llvm-svn: 8986
|
|
|
|
|
|
| |
Thanks to Brian for fixing this obvious oops
llvm-svn: 8899
|
|
|
|
| |
llvm-svn: 8659
|
|
|
|
|
|
| |
something which is mapped from functions.
llvm-svn: 8580
|
|
|
|
|
|
|
|
| |
the #define up there too
* Since we're including system headers, use the ones in include/llvm/Config
* While we're here, use the canonical LLVM header ordering algorithm
llvm-svn: 8463
|
|
|
|
| |
llvm-svn: 8436
|
|
|
|
| |
llvm-svn: 8400
|
|
|
|
| |
llvm-svn: 8375
|
|
|
|
|
|
| |
Build ExecutionEngine as library.
llvm-svn: 8370
|
|
|
|
|
|
| |
This lets us protect a few more ExecutionEngine methods.
llvm-svn: 8367
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 8362
|
|
|
|
|
|
|
| |
w/ interactive keyboard entry of names.
With that, Support.cpp is history.
llvm-svn: 8360
|
|
|
|
|
|
|
|
|
| |
Remove printCurrentInstruction, printStackFrame and infoValue
(only used interactively) and other unused methods of Interpreter.
Fold UserInput.cpp containing only callMainFunction() into Interpreter.cpp.
Remove unused Profile flag.
llvm-svn: 8359
|
|
|
|
|
|
| |
Remove some dead code and whitespace.
llvm-svn: 8346
|
|
|
|
| |
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: 8305
|
|
|
|
|
|
| |
library
llvm-svn: 8302
|
|
|
|
|
|
|
| |
size is. This ensures that if the module has no specified pointer size that
things will work correctly.
llvm-svn: 8136
|
|
|
|
|
|
| |
ad-hoc "Config" flags
llvm-svn: 8134
|
|
|
|
|
|
| |
to change soon though.
llvm-svn: 8123
|
|
|
|
|
|
| |
llvm style
llvm-svn: 8024
|
|
|
|
|
|
|
| |
starts a program. This allows the GNU env program to compile and JIT under
LLVM.
llvm-svn: 8022
|
|
|
|
| |
llvm-svn: 7955
|