[lldb/qemu] Implement GetMmapArgumentList

By forwarding it to the host platform.
This commit is contained in:
Pavel Labath 2022-01-10 16:34:39 +01:00
parent 76a0abbc13
commit 6d8d1c5ea3
1 changed files with 8 additions and 0 deletions

View File

@ -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);