[Lldb-commits] [lldb] [clang][DebugInfo] Emit global variable definitions for static data members with constant initializers (PR #70639)

via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 30 09:36:46 PDT 2023


avl-llvm 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?

```
0x0000008d:     DW_TAG_member
                  DW_AT_name    ("i")
                  DW_AT_type    (0x00000062 "const int")
                  DW_AT_external        (true)
                  DW_AT_declaration     (true)
                  DW_AT_const_value     (4)   <<<<<<<<<<<<<<<<<<<<<
```

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


More information about the lldb-commits mailing list