mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
[Clang][DebugInfo] Cease turning instruction-referencing off by default
Over in D114631 I turned this debug-info feature on by default, for x86_64 only. I'd previously stripped out the clang cc1 option that controlled it in651122fc4a
, unfortunately that turned out to not be completely effective, and the two things deleted in this patch continued to keep it off-by-default. Oooff. As a follow-up, this patch removes the last few things to do with ValueTrackingVariableLocations from clang, which was the original purpose of D114631. In an ideal world, if this patch causes you trouble you'd revert3c04507088
instead, which was where this behaviour was supposed to start being the default, although that might not be practical any more.
This commit is contained in:
parent
a364e8f6ad
commit
ea22fdd120
@ -368,9 +368,6 @@ ENUM_CODEGENOPT(DebuggerTuning, llvm::DebuggerKind, 3,
|
||||
/// emitted.
|
||||
VALUE_CODEGENOPT(DwarfVersion, 3, 0)
|
||||
|
||||
/// Whether to use experimental new variable location tracking.
|
||||
CODEGENOPT(ValueTrackingVariableLocations, 1, 0)
|
||||
|
||||
/// Whether we should emit CodeView debug information. It's possible to emit
|
||||
/// CodeView and DWARF into the same object.
|
||||
CODEGENOPT(EmitCodeView, 1, 0)
|
||||
|
@ -603,8 +603,6 @@ static bool initTargetOptions(DiagnosticsEngine &Diags,
|
||||
Options.ForceDwarfFrameSection = CodeGenOpts.ForceDwarfFrameSection;
|
||||
Options.EmitCallSiteInfo = CodeGenOpts.EmitCallSiteInfo;
|
||||
Options.EnableAIXExtendedAltivecABI = CodeGenOpts.EnableAIXExtendedAltivecABI;
|
||||
Options.ValueTrackingVariableLocations =
|
||||
CodeGenOpts.ValueTrackingVariableLocations;
|
||||
Options.XRayOmitFunctionIndex = CodeGenOpts.XRayOmitFunctionIndex;
|
||||
Options.LoopAlignment = CodeGenOpts.LoopAlignment;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user