[Lldb-commits] [lldb] 6d8d1c5 - [lldb/qemu] Implement GetMmapArgumentList
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 11 05:08:27 PST 2022
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);
More information about the lldb-commits
mailing list