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
commit 6b4448b623
Notes: sideshowbarker 2024-07-18 18:59:49 +09:00
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;