Skip to content
Commit 0d3e4d9d authored by Esme-Yi's avatar Esme-Yi
Browse files

[Debug-Info][llvm-dwarfdump] Don't use DW_FORM_data4/8

to encode the constants for DW_AT_data_member_location.

Summary: In DWARF v3, DW_FORM_data4/8 in
DW_AT_data_member_location are interpreted as location
list pointers. Interpreting constants as pointers is
not expected, so we use DW_FORM_udata to encode the
constants.

Reviewed By: probinson

Differential Revision: https://reviews.llvm.org/D105687
parent 3211eadf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment