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

LibDebug: Implement support for AttributeDataForm::Data8

I came across this while analyzing a crash dump for openttd.
This commit is contained in:
Gunnar Beutner 2021-04-18 12:34:26 +02:00 committed by Andreas Kling
parent ae49171755
commit 07adbf19c4
2 changed files with 10 additions and 0 deletions

View file

@ -46,6 +46,7 @@ public:
enum class Type : u8 {
UnsignedNumber,
SignedNumber,
LongUnsignedNumber,
String,
DieReference, // Reference to another DIE in the same compilation unit
Boolean,
@ -57,6 +58,7 @@ public:
union {
u32 as_u32;
i32 as_i32;
u64 as_u64;
const char* as_string; // points to bytes in the memory mapped elf image
bool as_bool;
struct {