Author: Pavel Labath Date: 2022-01-11T14:08:03+01:00 New Revision: 6d8d1c5ea307a6f8f86bb870535e426ccddccb4d
URL: https://github.com/llvm/llvm-project/commit/6d8d1c5ea307a6f8f86bb870535e426ccddccb4d DIFF: https://github.com/llvm/llvm-project/commit/6d8d1c5ea307a6f8f86bb870535e426ccddccb4d.diff LOG: [lldb/qemu] Implement GetMmapArgumentList By forwarding it to the host platform. Added: Modified: lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h Removed: ################################################################################ diff --git a/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h b/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h index 71df1b7b7811d..c5439e126db11 100644 --- a/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h +++ b/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h @@ -47,6 +47,14 @@ class PlatformQemuUser : public Platform { 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); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits