llvm-project
56e3e30c - [clang] Remove -g[no-]-* bool flags from g_Group (#162750)

Commit
137 days ago
[clang] Remove -g[no-]-* bool flags from g_Group (#162750) There are four uses of BoolGOption, and all of them are essentially debug info feature flags, which I believe should not the enablement or disablement of all debug info emission. `OPT_g_group` is used to control the debug info level here: https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/Clang.cpp#L4387 This doesn't cause any test failures, and seems like the right behavior for all four flags: * -g[no-]flag-base * -g[no-]inline-line-tables * -g[no-]key-instructions * -g[no-]structor-decl-linkage-names None of these, even in the positive form, should enable debug info emission. Fixes #162747
Author
rnk rnk
Parents
Loading