summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-04-19 03:20:51 +0000
committerEric Christopher <echristo@gmail.com>2015-04-19 03:20:51 +0000
commit29c47347d83a73950a87688e59aad758dc2e3843 (patch)
tree0b71fd2514e23b9d58cb0bfce468a626242a57e3 /llvm/tools/lli
parent9eb309371b55c44395ef7651f41e0d9ece223e60 (diff)
downloadbcm5719-llvm-29c47347d83a73950a87688e59aad758dc2e3843.tar.gz
bcm5719-llvm-29c47347d83a73950a87688e59aad758dc2e3843.zip
Remove the JITEmitDebugInfo TargetOptions as they're only set and
not used anywhere in llvm. llvm-svn: 235265
Diffstat (limited to 'llvm/tools/lli')
-rw-r--r--llvm/tools/lli/lli.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp
index c1e3522743a..0a1a5a8eacf 100644
--- a/llvm/tools/lli/lli.cpp
+++ b/llvm/tools/lli/lli.cpp
@@ -235,23 +235,6 @@ namespace {
clEnumValN(FloatABI::Hard, "hard",
"Hard float ABI (uses FP registers)"),
clEnumValEnd));
- cl::opt<bool>
-// In debug builds, make this default to true.
-#ifdef NDEBUG
-#define EMIT_DEBUG false
-#else
-#define EMIT_DEBUG true
-#endif
- EmitJitDebugInfo("jit-emit-debug",
- cl::desc("Emit debug information to debugger"),
- cl::init(EMIT_DEBUG));
-#undef EMIT_DEBUG
-
- static cl::opt<bool>
- EmitJitDebugInfoToDisk("jit-emit-debug-to-disk",
- cl::Hidden,
- cl::desc("Emit debug info objfiles to disk"),
- cl::init(false));
}
//===----------------------------------------------------------------------===//
@@ -488,12 +471,6 @@ int main(int argc, char **argv, char * const *envp) {
if (GenerateSoftFloatCalls)
FloatABIForCalls = FloatABI::Soft;
- // Remote target execution doesn't handle EH or debug registration.
- if (!RemoteMCJIT) {
- Options.JITEmitDebugInfo = EmitJitDebugInfo;
- Options.JITEmitDebugInfoToDisk = EmitJitDebugInfoToDisk;
- }
-
builder.setTargetOptions(Options);
EE = builder.create();
OpenPOWER on IntegriCloud