[PATCH] D40199: llvm-dwarfdump --verify is incorrectly saying all DW_AT_location attributes with locations lists are invalid.
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 17 15:36:37 PST 2017
probinson added a comment.
The FORM that's appropriate for DW_AT_location to use as a reference varies with the DWARF version. In v2 and v3, it's FORM_data4 or FORM_data8, in v4 it's FORM_sec_offset. I haven't looked at the verifier much but it seems like using the correct FORM is something that ought to be verifiable.
In v5 things get way more complicated, but that's not anything you have to deal with now.
Repository:
rL LLVM
https://reviews.llvm.org/D40199
More information about the llvm-commits
mailing list