1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00:00

LibDebug: Implement support for DWARF 5 compilation unit headers

This commit is contained in:
Gunnar Beutner 2021-04-28 22:13:58 +02:00 committed by Andreas Kling
parent a3f2af49f9
commit 6b4448b623
4 changed files with 54 additions and 8 deletions

View file

@ -19,7 +19,7 @@ public:
CompilationUnit(const DwarfInfo& dwarf_info, u32 offset, const CompilationUnitHeader&);
u32 offset() const { return m_offset; }
u32 size() const { return m_header.length + sizeof(u32); }
u32 size() const { return m_header.length() + sizeof(u32); }
DIE root_die() const;