diff --git a/llvm/include/llvm/Target/TargetOptions.h b/llvm/include/llvm/Target/TargetOptions.h index 5dab7de94906..cad356edacec 100644 --- a/llvm/include/llvm/Target/TargetOptions.h +++ b/llvm/include/llvm/Target/TargetOptions.h @@ -100,10 +100,6 @@ namespace llvm { /// o if the feature is useful (or not) on a particular platform, regardless /// of the debugger, that's a target decision. /// It's not impossible to see both factors in some specific case. - /// - /// The "tuning" should be used to set defaults for individual feature flags - /// in DwarfDebug; if a given feature has a more specific command-line option, - /// that option should take precedence over the tuning. enum class DebuggerKind { Default, ///< No specific tuning requested. GDB, ///< Tune debug info for gdb. diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 77e4f20a2888..6356a65b50d3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -440,7 +440,11 @@ class DwarfDebug : public DebugHandlerBase { AccelTable AccelNamespace; AccelTable AccelTypes; - // Identify a debugger for "tuning" the debug info. + /// Identify a debugger for "tuning" the debug info. + /// + /// The "tuning" should be used to set defaults for individual feature flags + /// in DwarfDebug; if a given feature has a more specific command-line option, + /// that option should take precedence over the tuning. DebuggerKind DebuggerTuning = DebuggerKind::Default; MCDwarfDwoLineTable *getDwoLineTable(const DwarfCompileUnit &);