1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:17:35 +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

@ -88,10 +88,4 @@ void DIE::for_each_child(Function<void(const DIE& child)> callback) const
}
}
DIE DIE::get_die_at_offset(u32 offset) const
{
VERIFY(offset >= m_compilation_unit.offset() && offset < m_compilation_unit.offset() + m_compilation_unit.size());
return DIE(m_compilation_unit, offset);
}
}