diff options
author | Pavel Labath <pavel@labath.sk> | 2022-01-10 16:34:39 +0100 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2022-01-11 14:08:03 +0100 |
commit | 6d8d1c5ea307a6f8f86bb870535e426ccddccb4d (patch) | |
tree | bc47f1d165d25f78efb855e19a8256269f887b51 | |
parent | 76a0abbc13cdfd3ae71f8db8a9376f65a9f6f725 (diff) | |
download | llvm-6d8d1c5ea307a6f8f86bb870535e426ccddccb4d.tar.gz |
[lldb/qemu] Implement GetMmapArgumentList
By forwarding it to the host platform.
-rw-r--r-- | lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h b/lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h index 71df1b7b7811..c5439e126db1 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); |