[clang] [clang][DebugInfo] Emit global variable definitions for static data members with constant initializers (PR #70639)
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 10:54:46 PDT 2023
dwblaikie wrote:
> Should not we remove constant initializer from the type definition if we have a DW_TAG_variable with a DW_AT_const_value now?
Yep, +1 to this. This is where the type normalization benefit would come from - no longer having this const value on the member declaration, but only on the definition.
https://github.com/llvm/llvm-project/pull/70639
More information about the cfe-commits
mailing list