| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 11367
|
|
|
|
| |
llvm-svn: 11224
|
|
|
|
|
|
| |
'unwind' dest
llvm-svn: 11202
|
|
|
|
|
|
|
|
|
| |
because that makes it abort. Also, fix a typo in a comment.
This checkin brought to you by the "It only takes about 30 seconds to run
ENABLE_LLI tests on Shootout on zion, even if they all dump core" fund.
llvm-svn: 10844
|
|
|
|
|
|
| |
implementation from the TargetMachine directly.
llvm-svn: 10636
|
|
|
|
|
|
| |
Reimplement the Interpreters implementation of va_* to be more direct.
llvm-svn: 10627
|
|
|
|
|
|
| |
rename run to runFunction
llvm-svn: 10609
|
|
|
|
| |
llvm-svn: 10465
|
|
|
|
|
|
| |
use it to return the result of strlen.
llvm-svn: 10433
|
|
|
|
|
|
|
| |
index by using I.getOperand() here. This was failing an assertion on
basically every struct access.
llvm-svn: 10426
|
|
|
|
| |
llvm-svn: 10390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interpreting them.
Move support for getting the value of a ConstantExpr into
getConstantExprValue(), and add support for the rest of the different
kinds of ConstantExprs. (I don't think I like ConstantExprs!)
This requires separate procedures executeShlInst() and executeShrInst().
Reduce the number of references to TheEE.
Get rid of an old comment mentioning annotations.
Fix exitCalled(), which was crashing the Interpreter. This was a
leftover from the return-value code refactoring.
llvm-svn: 10389
|
|
|
|
| |
llvm-svn: 10321
|
|
|
|
| |
llvm-svn: 10224
|
|
|
|
|
|
|
|
| |
argument to be returned by va_arg. This allows va_lists to be passed
between different LLVM procedures (though it is unlikely that an LLI
va_list would make sense to an external function, except by chance.)
llvm-svn: 9965
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
|
|
| |
still causes a crash. But it's better than before.
llvm-svn: 9794
|
|
|
|
|
|
|
|
| |
destination, if returning from an invoke.
Implement 'unwind' instruction.
llvm-svn: 9792
|
|
|
|
| |
llvm-svn: 9789
|
|
|
|
|
|
| |
Use visitCallSite to implement both CallInsts and InvokeInsts.
llvm-svn: 9788
|
|
|
|
| |
llvm-svn: 9787
|
|
|
|
| |
llvm-svn: 9784
|
|
|
|
|
|
| |
Make external function calls slightly less special; now they get a stack frame.
llvm-svn: 9765
|
|
|
|
| |
llvm-svn: 9726
|
|
|
|
|
|
| |
and calling exit(1).
llvm-svn: 9716
|
|
|
|
| |
llvm-svn: 9713
|
|
|
|
| |
llvm-svn: 9712
|
|
|
|
| |
llvm-svn: 9502
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
CurFrame, TraceMode, and the CachedWriter are history.
llvm-svn: 9492
|
|
|
|
| |
llvm-svn: 9490
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 9321
|
|
|
|
| |
llvm-svn: 9312
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 9222
|
|
|
|
| |
llvm-svn: 9128
|
|
|
|
| |
llvm-svn: 9031
|
|
|
|
| |
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: 8986
|
|
|
|
| |
llvm-svn: 8659
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 8362
|
|
|
|
|
|
|
| |
w/ interactive keyboard entry of names.
With that, Support.cpp is history.
llvm-svn: 8360
|