summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDebug/Dwarf
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-10 01:00:18 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commit43f98ac6e1eb913846980226b2524a4b419c6183 (patch)
treeb0c508cafcd9cb9d4698d0bad4579cfc433a9e14 /Userland/Libraries/LibDebug/Dwarf
parent874c7bba289222916911caf3102c77ee3a261d77 (diff)
downloadserenity-43f98ac6e1eb913846980226b2524a4b419c6183.zip
Everywhere: Remove the `AK::` qualifier from Stream usages
Diffstat (limited to 'Userland/Libraries/LibDebug/Dwarf')
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/AddressRanges.cpp4
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/AddressRanges.h8
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/DwarfTypes.h2
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/LineProgram.h2
4 files changed, 8 insertions, 8 deletions
diff --git a/Userland/Libraries/LibDebug/Dwarf/AddressRanges.cpp b/Userland/Libraries/LibDebug/Dwarf/AddressRanges.cpp
index 548480d0bd..38e10b3b67 100644
--- a/Userland/Libraries/LibDebug/Dwarf/AddressRanges.cpp
+++ b/Userland/Libraries/LibDebug/Dwarf/AddressRanges.cpp
@@ -10,7 +10,7 @@
namespace Debug::Dwarf {
-AddressRangesV5::AddressRangesV5(NonnullOwnPtr<AK::Stream> range_lists_stream, CompilationUnit const& compilation_unit)
+AddressRangesV5::AddressRangesV5(NonnullOwnPtr<Stream> range_lists_stream, CompilationUnit const& compilation_unit)
: m_range_lists_stream(move(range_lists_stream))
, m_compilation_unit(compilation_unit)
{
@@ -77,7 +77,7 @@ ErrorOr<void> AddressRangesV5::for_each_range(Function<void(Range)> callback)
return {};
}
-AddressRangesV4::AddressRangesV4(NonnullOwnPtr<AK::Stream> ranges_stream, CompilationUnit const& compilation_unit)
+AddressRangesV4::AddressRangesV4(NonnullOwnPtr<Stream> ranges_stream, CompilationUnit const& compilation_unit)
: m_ranges_stream(move(ranges_stream))
, m_compilation_unit(compilation_unit)
{
diff --git a/Userland/Libraries/LibDebug/Dwarf/AddressRanges.h b/Userland/Libraries/LibDebug/Dwarf/AddressRanges.h
index c1b77d254a..8b8ec7b15b 100644
--- a/Userland/Libraries/LibDebug/Dwarf/AddressRanges.h
+++ b/Userland/Libraries/LibDebug/Dwarf/AddressRanges.h
@@ -24,12 +24,12 @@ class AddressRangesV5 {
public:
// FIXME: This should be fine with using a non-owned stream.
- AddressRangesV5(NonnullOwnPtr<AK::Stream> range_lists_stream, CompilationUnit const& compilation_unit);
+ AddressRangesV5(NonnullOwnPtr<Stream> range_lists_stream, CompilationUnit const& compilation_unit);
ErrorOr<void> for_each_range(Function<void(Range)>);
private:
- NonnullOwnPtr<AK::Stream> m_range_lists_stream;
+ NonnullOwnPtr<Stream> m_range_lists_stream;
CompilationUnit const& m_compilation_unit;
};
@@ -38,12 +38,12 @@ class AddressRangesV4 {
AK_MAKE_NONMOVABLE(AddressRangesV4);
public:
- AddressRangesV4(NonnullOwnPtr<AK::Stream> ranges_stream, CompilationUnit const&);
+ AddressRangesV4(NonnullOwnPtr<Stream> ranges_stream, CompilationUnit const&);
ErrorOr<void> for_each_range(Function<void(Range)>);
private:
- NonnullOwnPtr<AK::Stream> m_ranges_stream;
+ NonnullOwnPtr<Stream> m_ranges_stream;
CompilationUnit const& m_compilation_unit;
};
diff --git a/Userland/Libraries/LibDebug/Dwarf/DwarfTypes.h b/Userland/Libraries/LibDebug/Dwarf/DwarfTypes.h
index 6ae6d81c31..f429fd7229 100644
--- a/Userland/Libraries/LibDebug/Dwarf/DwarfTypes.h
+++ b/Userland/Libraries/LibDebug/Dwarf/DwarfTypes.h
@@ -55,7 +55,7 @@ struct [[gnu::packed]] CompilationUnitHeader {
u32 abbrev_offset() const { return (common.version <= 4) ? v4.abbrev_offset : v5.abbrev_offset; }
u8 address_size() const { return (common.version <= 4) ? v4.address_size : v5.address_size; }
- static ErrorOr<CompilationUnitHeader> read_from_stream(AK::Stream& stream)
+ static ErrorOr<CompilationUnitHeader> read_from_stream(Stream& stream)
{
CompilationUnitHeader header;
TRY(stream.read_entire_buffer(Bytes { &header.common, sizeof(header.common) }));
diff --git a/Userland/Libraries/LibDebug/Dwarf/LineProgram.h b/Userland/Libraries/LibDebug/Dwarf/LineProgram.h
index 15fba6b03c..bbf9f877ef 100644
--- a/Userland/Libraries/LibDebug/Dwarf/LineProgram.h
+++ b/Userland/Libraries/LibDebug/Dwarf/LineProgram.h
@@ -65,7 +65,7 @@ struct [[gnu::packed]] LineProgramUnitHeader32 {
u8 line_range() const { return (common.version <= 4) ? v4.line_range : v5.line_range; }
u8 opcode_base() const { return (common.version <= 4) ? v4.opcode_base : v5.opcode_base; }
- static ErrorOr<LineProgramUnitHeader32> read_from_stream(AK::Stream& stream)
+ static ErrorOr<LineProgramUnitHeader32> read_from_stream(Stream& stream)
{
LineProgramUnitHeader32 header;
TRY(stream.read_entire_buffer(Bytes { &header.common, sizeof(header.common) }));