LibDebug: Add support for the various DW_FORM_block types

This fixes #2885.
This commit is contained in:
Itamar 2020-07-26 21:19:02 +03:00 committed by Andreas Kling
commit 240eb3242a
Notes: sideshowbarker 2024-07-19 04:35:30 +09:00
3 changed files with 41 additions and 7 deletions

View file

@ -52,6 +52,7 @@ public:
Boolean,
DwarfExpression,
SecOffset,
RawBytes,
} type;
union {
@ -62,7 +63,7 @@ public:
struct {
u32 length;
const u8* bytes; // points to bytes in the memory mapped elf image
} as_dwarf_expression;
} as_raw_bytes;
} data {};
};