diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-09-04 22:21:24 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-09-04 22:21:24 +0000 |
commit | f58815e161c8c91075dd1af7a277314190ebc286 (patch) | |
tree | 7c79f34768f6a53fa55d67346e68fdd04b255a5a /tools/lli | |
parent | 82d8277ad5862b54341808812bb4016e52347060 (diff) | |
download | llvm-f58815e161c8c91075dd1af7a277314190ebc286.tar.gz llvm-f58815e161c8c91075dd1af7a277314190ebc286.tar.bz2 llvm-f58815e161c8c91075dd1af7a277314190ebc286.tar.xz |
Interpreter cleanups:
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().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli')
-rw-r--r-- | tools/lli/lli.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp index 36af42168a..d0d1c4997b 100644 --- a/tools/lli/lli.cpp +++ b/tools/lli/lli.cpp @@ -26,8 +26,6 @@ namespace { MainFunction ("f", cl::desc("Function to execute"), cl::init("main"), cl::value_desc("function name")); - cl::opt<bool> DebugMode("d", cl::desc("Start program in debugger")); - cl::opt<bool> TraceMode("trace", cl::desc("Enable Tracing")); cl::opt<bool> ForceInterpreter("force-interpreter", @@ -60,10 +58,10 @@ int main(int argc, char** argv, const char ** envp) { } ExecutionEngine *EE = - ExecutionEngine::create (M, ForceInterpreter, DebugMode, TraceMode); + ExecutionEngine::create (M, ForceInterpreter, TraceMode); assert (EE && "Couldn't create an ExecutionEngine, not even an interpreter?"); - // Add the module name to the start of the argv vector... + // Add the module's name to the start of the vector of arguments to main(). // But delete .bc first, since programs (and users) might not expect to // see it. const std::string ByteCodeFileSuffix (".bc"); |