Issue 162747
Summary [clang] `-gno-structor-decl-linkage-names` and `-gno-key-instructions` should not enable debug info
Labels clang
Assignees
Reporter rnk
    In [this line](https://github.com/llvm/llvm-project/blob/ab897ae2e08646e7c60fb61d71df5616950beb66/clang/lib/Driver/ToolChains/Clang.cpp#L4387), Clang takes all "g group" arguments, and uses the last g group arg to set the debug info level (constructor, standalone, vtable, lines-only, etc). However, `-g[no-]key-instructions` and `-g[no]-structor-decl-linkage-names` are in g_Group, so it seems they activate this conditional, when the probably simply should not. I will attempt a straightforward patch to see if the issue goes away.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to