[clang] [clang][DebugInfo] Attach DW_AT_const_value to static data-member definitions if available (PR #72730)

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 11:23:06 PST 2023


dwblaikie wrote:

Hmm, I can't quite tell from the test case updates in the patch, at least at a glance: How does this get encoded at the IR level? Do we end up with two DIGlobalVariableExpressions? One with the constant value expresison, and one that references the actual global variable? Or somehow encode both in one?

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


More information about the cfe-commits mailing list