DavidSpickett wrote:

Clang's dwarf v2 output is missing `DW_AT_type`. With `g++` I see that (and 
more) with v2 and v3.

v2:
```
0x00000043:   DW_TAG_enumeration_type
                DW_AT_name      ("UnsignedEnum")
                DW_AT_byte_size (0x04)
                DW_AT_decl_file ("/tmp/test.cpp")
                DW_AT_decl_line (2)
```
v3:
```
0x0000004e:   DW_TAG_enumeration_type
                DW_AT_type      (0x00000067 "unsigned int")
                DW_AT_name      ("UnsignedEnum")
                DW_AT_byte_size (0x04)
                DW_AT_decl_file ("/tmp/test.cpp")
                DW_AT_decl_line (2)
```

Will revert while I figure that out.

https://github.com/llvm/llvm-project/pull/96202
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to