hubert.reinterpretcast added a comment.
In D153536#4479275 <https://reviews.llvm.org/D153536#4479275>,
@hubert.reinterpretcast wrote:
> It seems the class member case trips up debuggers.
If `llvm-dwarfdump` is to be believed, it looks like a compiler bug (two
members reported at the same offset).
0x000000a3: DW_TAG_member [4] (0x0000009d)
DW_AT_name [DW_FORM_string] ("_")
DW_AT_type [DW_FORM_ref4] (cu + 0x00de => {0x000000de}
"int")
DW_AT_decl_file [DW_FORM_data1]
("/terrannew/hstong/.Lpcoral03/llvmbld/placeholderDbg.cc")
DW_AT_decl_line [DW_FORM_data1] (2)
DW_AT_data_member_location [DW_FORM_data1] (0x00)
0x000000ad: DW_TAG_member [4] (0x0000009d)
DW_AT_name [DW_FORM_string] ("_")
DW_AT_type [DW_FORM_ref4] (cu + 0x00de => {0x000000de}
"int")
DW_AT_decl_file [DW_FORM_data1]
("/terrannew/hstong/.Lpcoral03/llvmbld/placeholderDbg.cc")
DW_AT_decl_line [DW_FORM_data1] (2)
DW_AT_data_member_location [DW_FORM_data1] (0x00)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153536/new/
https://reviews.llvm.org/D153536
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits