From 6d8d1c5ea307a6f8f86bb870535e426ccddccb4d Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 10 Jan 2022 16:34:39 +0100 Subject: [PATCH] [lldb/qemu] Implement GetMmapArgumentList By forwarding it to the host platform. --- lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h b/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h index 71df1b7..c5439e1 100644 --- a/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h +++ b/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h @@ -47,6 +47,14 @@ public: Environment GetEnvironment() override; + MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr, + lldb::addr_t length, unsigned prot, + unsigned flags, lldb::addr_t fd, + lldb::addr_t offset) override { + return Platform::GetHostPlatform()->GetMmapArgumentList( + arch, addr, length, prot, flags, fd, offset); + } + private: static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); static void DebuggerInitialize(Debugger &debugger); -- 2.7.4