[PATCH] D80391: [Driver] Don't make -gsplit-dwarf imply -g2
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 13 13:04:24 PST 2021
MaskRay added a comment.
In D80391#2496583 <https://reviews.llvm.org/D80391#2496583>, @thakis wrote:
> Do we emit a warning if we see `-gsplit-dwarf` alone? Should we?
`{gcc,clang} -gcolumn-info -c a.c` does not warn about unused -gcolumn-info. Not having a warning makes such toggle flags more independent. Users can add them as default without checking about -g levels.
> This apparently bit us (chromium) in thinlto configs. Could this here be more explicit that -gsplit-dwarf now needs an explicit -g2 in cflags, and if using thinlto, in ldflags as well?
(I CCed you in a message half a year ago. My apologies, I probably should notified you again)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80391/new/
https://reviews.llvm.org/D80391
More information about the cfe-commits
mailing list