Skip to content

Commit

Permalink
Merge pull request #368 from hawkinsp/code30
Browse files Browse the repository at this point in the history
Implement DWARF code 30 (data16).
  • Loading branch information
haberman authored Jan 10, 2024
2 parents 16f9fe5 + 5706fb8 commit 22a83c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dwarf/attr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ AttrValue AttrValue::ParseAttr(const CU& cu, uint16_t form, string_view* data) {
return AttrValue(form, ReadBytes(4, data));
case DW_FORM_data8:
return AttrValue(form, ReadBytes(8, data));
case DW_FORM_data16:
return AttrValue(form, ReadBytes(16, data));
case DW_FORM_loclistx:
case DW_FORM_rnglistx:
return AttrValue(form, ReadLEB128<uint64_t>(data));
Expand Down

0 comments on commit 22a83c0

Please sign in to comment.