mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +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
|
@ -23,4 +23,10 @@ DIE CompilationUnit::root_die() const
|
|||
return DIE(*this, m_offset + m_header.header_size());
|
||||
}
|
||||
|
||||
DIE CompilationUnit::get_die_at_offset(u32 die_offset) const
|
||||
{
|
||||
VERIFY(die_offset >= offset() && die_offset < offset() + size());
|
||||
return DIE(*this, die_offset);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue