[Lldb-commits] [lldb] [lldb] Fix printing of unsigned enum bitfields when they contain the max value (PR #96202)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 9 07:01:25 PDT 2024
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
More information about the lldb-commits
mailing list