| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
CurFrame, TraceMode, and the CachedWriter are history.
The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.
ExecutionContext now keeps Values for each stack frame in a std::map.
printValue() and print() are history.
executeInstruction() is now part of run().
llvm-svn: 9493
|
|
|
|
| |
llvm-svn: 9321
|
|
|
|
| |
llvm-svn: 9222
|
|
|
|
|
|
| |
something which is mapped from functions.
llvm-svn: 8580
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
ad-hoc "Config" flags
llvm-svn: 8134
|
|
|
|
|
|
|
| |
starts a program. This allows the GNU env program to compile and JIT under
LLVM.
llvm-svn: 8022
|
|
|
|
| |
llvm-svn: 7822
|
|
|
|
| |
llvm-svn: 6194
|
|
|
|
|
|
| |
statement
llvm-svn: 6081
|
|
|
|
| |
llvm-svn: 6074
|
|
|
|
|
|
|
| |
* s/Method/Function
* Kill some obsolete (external) functions that used to be to support tracing
llvm-svn: 6041
|
|
|
|
| |
llvm-svn: 6040
|
|
|
|
|
|
| |
the traditional LLI interpreter
llvm-svn: 5125
|
|
|
|
| |
llvm-svn: 4605
|
|
|
|
|
|
| |
correctly, despite the fact that the host machine might not be the same.
llvm-svn: 4180
|
|
|
|
| |
llvm-svn: 4021
|
|
|
|
|
|
| |
For details, See: docs/2002-06-25-MegaPatchInfo.txt
llvm-svn: 2778
|
|
|
|
|
|
|
| |
class. The Method class is obsolete (renamed) and all references to it
are being converted over to Function.
llvm-svn: 2144
|
|
|
|
| |
llvm-svn: 1776
|
|
|
|
|
|
|
| |
Method::inst_* is now in llvm/Support/InstIterator.h
GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h
llvm-svn: 1746
|
|
|
|
| |
llvm-svn: 1503
|
|
|
|
| |
llvm-svn: 1399
|
|
|
|
| |
llvm-svn: 1267
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix misspeling
* Catch SIGFPE for traps
* info XXX now prints the raw contents of the GenericValue
* Switch to calloc instead of malloc (temporarily I hope) to bandaid Olden benchmarks
* Implement binary And & Or
* Convert expressions like this:
PointerTy SrcPtr = getOperandValue(I->getPtrOperand(), SF).PointerVal;
to:
GenericValue SRC = getOperandValue(I->getPtrOperand(), SF);
PointerTy SrcPtr = SRC.PointerVal;
because the prior way confuses purify.
* Taint the initial values of the value planes
* Handling 'print bb4' in the interpreter without crashing
* Print nicer stack frames with concise return type
* printf doesn't suck nearly as badly as it used to
llvm-svn: 1177
|
|
|
|
|
|
|
|
| |
* Use the cache writer for all it's problems.
* print arguments to methods in stack traces.
*Print the current stack from for up/down commands.
llvm-svn: 1170
|
|
|
|
|
|
|
|
| |
consistently
* When a segfault or bus error occurs, stop the program, print a stack trace, and dump the user in the debugger mode
llvm-svn: 1169
|
|
|
|
| |
llvm-svn: 1048
|
|
|
|
| |
llvm-svn: 989
|
|
|
|
|
|
|
|
|
| |
This causes code that is generated by gcc to work better.
* Implement mul & div
* Export malloc, free, and pow
* add strtol, atoi, and atol to the runtime library
llvm-svn: 988
|
|
|
|
| |
llvm-svn: 987
|
|
|
|
|
|
|
| |
* Implement linked in runtime library with puts(char*) in it
* implement builtin putchar(int) function
llvm-svn: 985
|
|
|
|
| |
llvm-svn: 909
|
|
|
|
| |
llvm-svn: 843
|
|
|
|
|
|
| |
implemented yet though
llvm-svn: 818
|
|
|
|
|
|
| |
Add external method support
llvm-svn: 528
|
|
|
|
| |
llvm-svn: 372
|
|
llvm-svn: 361
|