Make CreateArgv part of lli rather than part of ExecutionEngine.
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 5 Sep 2003 18:42:01 +0000 (18:42 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 5 Sep 2003 18:42:01 +0000 (18:42 +0000)
commit70975eef572b9e132bbaade16ba9edb76f15f287
treeedbaec8a92e10f18d1195cdb5d0fc1b59b4520d2
parent5bea411ad288ea6f25ac296ae2d75a4bfab8bf98
Make CreateArgv part of lli rather than part of ExecutionEngine.
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".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8366 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/ExecutionEngine.h
lib/ExecutionEngine/ExecutionEngine.cpp
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
lib/ExecutionEngine/Interpreter/Interpreter.cpp
lib/ExecutionEngine/Interpreter/Interpreter.h
lib/ExecutionEngine/JIT/Intercept.cpp
lib/ExecutionEngine/JIT/JIT.cpp
lib/ExecutionEngine/JIT/JIT.h
lib/ExecutionEngine/JIT/VM.h
tools/lli/lli.cpp