[PATCH] D105687: [Debug-Info] [llvm-dwarfdump] Don't use DW_FORM_data4/8 to encode the constants for DW_AT_data_member_location.
Esme Yi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 9 02:35:03 PDT 2021
Esme created this revision.
Esme added reviewers: probinson, shchenz, dblaikie, aprantl, PowerPC.
Herald added subscribers: cmtice, hiraditya, emaste.
Herald added a reviewer: jhenderson.
Esme requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1, MaskRay.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
This patch comes from D105469 <https://reviews.llvm.org/D105469>.
In DWARF2/3, the DW_FORM_data4/8 in DW_AT_data_member_location must be interpreted as location-list pointers.
In this patch, we use DW_FORM_udata instead of DW_FORM_data4/8 to encode the constants of DW_AT_data_member_location in DWARF3.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D105687
Files:
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/tools/llvm-dwarfdump/ELF/formclass3-atmemloc.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105687.357449.patch
Type: text/x-patch
Size: 17666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210709/4561b040/attachment.bin>
More information about the llvm-commits
mailing list