mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 20:26:07 +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:
@@ -72,8 +72,8 @@ namespace llvm {
|
|||||||
LessPreciseFPMADOption(false), UnsafeFPMath(false),
|
LessPreciseFPMADOption(false), UnsafeFPMath(false),
|
||||||
NoInfsFPMath(false), NoNaNsFPMath(false),
|
NoInfsFPMath(false), NoNaNsFPMath(false),
|
||||||
HonorSignDependentRoundingFPMathOption(false), UseSoftFloat(false),
|
HonorSignDependentRoundingFPMathOption(false), UseSoftFloat(false),
|
||||||
NoZerosInBSS(false), JITEmitDebugInfo(false),
|
NoZerosInBSS(false),
|
||||||
JITEmitDebugInfoToDisk(false), GuaranteedTailCallOpt(false),
|
GuaranteedTailCallOpt(false),
|
||||||
DisableTailCalls(false), StackAlignmentOverride(0),
|
DisableTailCalls(false), StackAlignmentOverride(0),
|
||||||
EnableFastISel(false), PositionIndependentExecutable(false),
|
EnableFastISel(false), PositionIndependentExecutable(false),
|
||||||
UseInitArray(false), DisableIntegratedAS(false),
|
UseInitArray(false), DisableIntegratedAS(false),
|
||||||
@@ -147,15 +147,6 @@ namespace llvm {
|
|||||||
/// crt*.o compiling).
|
/// crt*.o compiling).
|
||||||
unsigned NoZerosInBSS : 1;
|
unsigned NoZerosInBSS : 1;
|
||||||
|
|
||||||
/// JITEmitDebugInfo - This flag indicates that the JIT should try to emit
|
|
||||||
/// debug information and notify a debugger about it.
|
|
||||||
unsigned JITEmitDebugInfo : 1;
|
|
||||||
|
|
||||||
/// JITEmitDebugInfoToDisk - This flag indicates that the JIT should write
|
|
||||||
/// the object files generated by the JITEmitDebugInfo flag to disk. This
|
|
||||||
/// flag is hidden and is only for debugging the debug info.
|
|
||||||
unsigned JITEmitDebugInfoToDisk : 1;
|
|
||||||
|
|
||||||
/// GuaranteedTailCallOpt - This flag is enabled when -tailcallopt is
|
/// GuaranteedTailCallOpt - This flag is enabled when -tailcallopt is
|
||||||
/// specified on the commandline. When the flag is on, participating targets
|
/// specified on the commandline. When the flag is on, participating targets
|
||||||
/// will perform tail call optimization on all calls which use the fastcc
|
/// will perform tail call optimization on all calls which use the fastcc
|
||||||
@@ -278,8 +269,6 @@ inline bool operator==(const TargetOptions &LHS,
|
|||||||
ARE_EQUAL(HonorSignDependentRoundingFPMathOption) &&
|
ARE_EQUAL(HonorSignDependentRoundingFPMathOption) &&
|
||||||
ARE_EQUAL(UseSoftFloat) &&
|
ARE_EQUAL(UseSoftFloat) &&
|
||||||
ARE_EQUAL(NoZerosInBSS) &&
|
ARE_EQUAL(NoZerosInBSS) &&
|
||||||
ARE_EQUAL(JITEmitDebugInfo) &&
|
|
||||||
ARE_EQUAL(JITEmitDebugInfoToDisk) &&
|
|
||||||
ARE_EQUAL(GuaranteedTailCallOpt) &&
|
ARE_EQUAL(GuaranteedTailCallOpt) &&
|
||||||
ARE_EQUAL(DisableTailCalls) &&
|
ARE_EQUAL(DisableTailCalls) &&
|
||||||
ARE_EQUAL(StackAlignmentOverride) &&
|
ARE_EQUAL(StackAlignmentOverride) &&
|
||||||
|
@@ -235,23 +235,6 @@ namespace {
|
|||||||
clEnumValN(FloatABI::Hard, "hard",
|
clEnumValN(FloatABI::Hard, "hard",
|
||||||
"Hard float ABI (uses FP registers)"),
|
"Hard float ABI (uses FP registers)"),
|
||||||
clEnumValEnd));
|
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)
|
if (GenerateSoftFloatCalls)
|
||||||
FloatABIForCalls = FloatABI::Soft;
|
FloatABIForCalls = FloatABI::Soft;
|
||||||
|
|
||||||
// Remote target execution doesn't handle EH or debug registration.
|
|
||||||
if (!RemoteMCJIT) {
|
|
||||||
Options.JITEmitDebugInfo = EmitJitDebugInfo;
|
|
||||||
Options.JITEmitDebugInfoToDisk = EmitJitDebugInfoToDisk;
|
|
||||||
}
|
|
||||||
|
|
||||||
builder.setTargetOptions(Options);
|
builder.setTargetOptions(Options);
|
||||||
|
|
||||||
EE = builder.create();
|
EE = builder.create();
|
||||||
|
Reference in New Issue
Block a user