[clang] [lldb] Reland "[clang][DebugInfo] Emit global variable definitions for static data members with constant initializers" (PR #71780)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 15 14:19:30 PST 2023


Michael137 wrote:

> The member is const with an initializer in-class. How is the constant value not available for the definition?

Right, it is available, we just don't attach it if we have a location for it. Don't see why we couldn't put it on the definition if we have the constant on hand

https://github.com/llvm/llvm-project/pull/71780


More information about the cfe-commits mailing list