summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCoredump/Backtrace.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-11-23 11:32:25 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-23 11:33:36 +0100
commit58fb3ebf660e87a7ac93b5e8a7433ff441e30639 (patch)
tree1c899f032c0f07a3a8a74649204b2fd06f0775a5 /Userland/Libraries/LibCoredump/Backtrace.cpp
parentc1c9da6c35ff3f28aefb6370dad898cb85e6bcef (diff)
downloadserenity-58fb3ebf660e87a7ac93b5e8a7433ff441e30639.zip
LibCore+AK: Move MappedFile from AK to LibCore
MappedFile is strictly a userspace thing, so it doesn't belong in AK (which is supposed to be user/kernel agnostic.)
Diffstat (limited to 'Userland/Libraries/LibCoredump/Backtrace.cpp')
-rw-r--r--Userland/Libraries/LibCoredump/Backtrace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCoredump/Backtrace.cpp b/Userland/Libraries/LibCoredump/Backtrace.cpp
index a0f9969d42..03d3e2238a 100644
--- a/Userland/Libraries/LibCoredump/Backtrace.cpp
+++ b/Userland/Libraries/LibCoredump/Backtrace.cpp
@@ -5,11 +5,11 @@
*/
#include <AK/LexicalPath.h>
-#include <AK/MappedFile.h>
#include <AK/Platform.h>
#include <AK/StringBuilder.h>
#include <AK/Types.h>
#include <LibCore/File.h>
+#include <LibCore/MappedFile.h>
#include <LibCoredump/Backtrace.h>
#include <LibCoredump/Reader.h>
#include <LibELF/Core.h>
@@ -30,7 +30,7 @@ ELFObjectInfo const* Backtrace::object_info_for_region(ELF::Core::MemoryRegionIn
if (!Core::File::exists(path))
return nullptr;
- auto file_or_error = MappedFile::map(path);
+ auto file_or_error = Core::MappedFile::map(path);
if (file_or_error.is_error())
return nullptr;