[PATCH] D87016: [DebugInfo] Fix emitting the DW_AT_location attribute for 64-bit DWARFv3 (9/19).
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 02:31:39 PDT 2020
ikudrin added inline comments.
================
Comment at: llvm/test/DebugInfo/X86/DW_AT_location-reference.ll:41
+; DWARF32v3-NEXT: DW_AT_location [DW_FORM_data4] (0x00000000
+; DWARF64v3-NEXT: DW_AT_location [DW_FORM_data8] (0x00000000
+; DWARFv4-NEXT: DW_AT_location [DW_FORM_sec_offset] (0x00000000
----------------
dblaikie wrote:
> Should this be dumped in a different format/more digits to match the number of bytes in the field?
That is how `DWARFLocationTable::dumpLocationList()` dumps the offset. At that moment, the information about the form of the value is lost.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87016/new/
https://reviews.llvm.org/D87016
More information about the llvm-commits
mailing list