From 5706fb8f6da7ee5cd34821da9bd82b9c61473b7b Mon Sep 17 00:00:00 2001 From: Peter Hawkins Date: Fri, 1 Dec 2023 15:58:25 +0000 Subject: [PATCH] Implement DWARF code 30 (data16). --- src/dwarf/attr.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dwarf/attr.cc b/src/dwarf/attr.cc index b0e1681..358288f 100644 --- a/src/dwarf/attr.cc +++ b/src/dwarf/attr.cc @@ -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(data));