mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
LibDebug: Miscellaneous fixes from #2097
This commit is contained in:
parent
42b61cfe2c
commit
5fd64045b1
5 changed files with 5 additions and 5 deletions
|
@ -42,7 +42,7 @@ ByteBuffer DwarfInfo::section_data(const String& section_name)
|
|||
{
|
||||
auto section = m_elf->image().lookup_section(section_name);
|
||||
ASSERT(!section.is_undefined());
|
||||
return ByteBuffer::wrap(reinterpret_cast<const u8*>(section.raw_data()), section.size());
|
||||
return section.wrapping_byte_buffer();
|
||||
}
|
||||
|
||||
void DwarfInfo::populate_compilation_units()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue