From a112eb18292860290ba60d512f3be0b742e5e605 Mon Sep 17 00:00:00 2001 From: Chippy <57328807+1superchip@users.noreply.github.com> Date: Mon, 26 Aug 2024 19:41:25 -0500 Subject: [PATCH] DWARF: Add PureVirtual/Virtual Block2 attributes (#70) --- src/util/dwarf.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/dwarf.rs b/src/util/dwarf.rs index ea52ac0..9896f1d 100644 --- a/src/util/dwarf.rs +++ b/src/util/dwarf.rs @@ -274,6 +274,7 @@ pub enum AttributeKind { Prototyped = 0x0270 | (FormKind::String as u16), Public = 0x0280 | (FormKind::String as u16), PureVirtual = 0x0290 | (FormKind::String as u16), + PureVirtualBlock2 = 0x0290 | (FormKind::Block2 as u16), ReturnAddr = 0x02a0 | (FormKind::Block2 as u16), Specification = 0x02b0 | (FormKind::Ref as u16), StartScope = 0x02c0 | (FormKind::Data4 as u16), @@ -283,6 +284,7 @@ pub enum AttributeKind { UpperBoundData4 = 0x02f0 | (FormKind::Data4 as u16), UpperBoundData8 = 0x02f0 | (FormKind::Data8 as u16), Virtual = 0x0300 | (FormKind::String as u16), + VirtualBlock2 = 0x0300 | (FormKind::Block2 as u16), LoUser = 0x2000, HiUser = 0x3ff0, // User types