mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Remove the JITEmitDebugInfo TargetOptions as they're only set and
not used anywhere in llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user