Skip to content

Commit ecebd1c

Browse files
committed
Remove "implies -g" from the doc text
1 parent 853d60e commit ecebd1c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4825,8 +4825,7 @@ defm structor_decl_linkage_names
48254825
NegFlag<SetFalse>,
48264826
PosFlag<SetTrue, [], [],
48274827
"Attach linkage names to C++ constructor/destructor "
4828-
"declarations in DWARF."
4829-
"Implies -g.">,
4828+
"declarations in DWARF.">,
48304829
BothFlags<[], [ClangOption, CLOption, CC1Option]>>,
48314830
DocBrief<[{On some ABIs (e.g., Itanium), constructors and destructors may have multiple variants. Historically, when generating DWARF, Clang did not attach ``DW_AT_linkage_name`` to structor DIEs because there were multiple possible manglings (depending on the structor variant) that could be used. With ``-gstructor-decl-linkage-names``, for ABIs with structor variants, we attach a "unified" mangled name to structor declarations DIEs which debuggers can use to look up all the definitions for a structor declaration. E.g., a "unified" mangled name ``_ZN3FooC4Ev`` may have multiple definitions associated with it such as ``_ZN3FooC1Ev`` and ``_ZN3FooC2Ev``.
48324831

@@ -4835,7 +4834,7 @@ defm key_instructions : BoolGOption<"key-instructions",
48354834
CodeGenOpts<"DebugKeyInstructions">, DefaultFalse,
48364835
NegFlag<SetFalse>, PosFlag<SetTrue, [], [],
48374836
"Enable Key Instructions, which reduces the jumpiness of debug stepping in optimized C/C++ code"
4838-
" in some debuggers. DWARF only. Implies -g.">,
4837+
" in some debuggers. DWARF only.">,
48394838
BothFlags<[], [ClangOption, CLOption, CC1Option]>>;
48404839
def headerpad__max__install__names : Joined<["-"], "headerpad_max_install_names">;
48414840
def help : Flag<["-", "--"], "help">,

0 commit comments

Comments
 (0)