1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:37:36 +00:00

LibDebug: Move get_die_at_offset to Dwarf::CompilationUnit

This commit is contained in:
Itamar 2021-06-12 10:29:33 +03:00 committed by Andreas Kling
parent 15b3957885
commit fea9bb8c51
5 changed files with 9 additions and 9 deletions

View file

@ -33,8 +33,7 @@ public:
void for_each_child(Function<void(const DIE& child)> callback) const;
bool is_null() const { return m_tag == EntryTag::None; }
DIE get_die_at_offset(u32 offset) const;
const CompilationUnit& compilation_unit() const { return m_compilation_unit; }
private:
const CompilationUnit& m_compilation_unit;