mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
AK: Move memory streams from LibCore
This commit is contained in:
parent
11550f582b
commit
093cf428a3
46 changed files with 213 additions and 203 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "DwarfInfo.h"
|
||||
|
||||
#include <AK/LEB128.h>
|
||||
#include <LibCore/MemoryStream.h>
|
||||
#include <AK/MemoryStream.h>
|
||||
|
||||
namespace Debug::Dwarf {
|
||||
|
||||
|
@ -21,7 +21,7 @@ AbbreviationsMap::AbbreviationsMap(DwarfInfo const& dwarf_info, u32 offset)
|
|||
|
||||
ErrorOr<void> AbbreviationsMap::populate_map()
|
||||
{
|
||||
auto abbreviation_stream = TRY(Core::Stream::FixedMemoryStream::construct(m_dwarf_info.abbreviation_data()));
|
||||
auto abbreviation_stream = TRY(FixedMemoryStream::construct(m_dwarf_info.abbreviation_data()));
|
||||
TRY(abbreviation_stream->discard(m_offset));
|
||||
Core::Stream::WrapInAKInputStream wrapped_abbreviation_stream { *abbreviation_stream };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue