diff options
author | Reid Kleckner <rnk@google.com> | 2025-10-10 15:49:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-10 22:49:18 +0000 |
commit | 56e3e30cebfd40853e57639e9f2e5672e5f4124f (patch) | |
tree | 43a1b5f3801dacd8e30fd41d04f99cdda86f326b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 1a8057fd473c436e86ac5ff2123d611f97dfe622 (diff) | |
download | llvm-56e3e30cebfd40853e57639e9f2e5672e5f4124f.zip llvm-56e3e30cebfd40853e57639e9f2e5672e5f4124f.tar.gz llvm-56e3e30cebfd40853e57639e9f2e5672e5f4124f.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions