1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

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
parent 52ab2cead4
commit 240eb3242a
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 {};
};