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:
parent
15b3957885
commit
fea9bb8c51
5 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue