diff options
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp index dbaa83fd15d7..84a009be50bf 100644 --- a/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp @@ -51,9 +51,8 @@ static Status EnsureFDFlags(int fd, int flags) { // Public Static Methods llvm::Expected<std::unique_ptr<NativeProcessProtocol>> -NativeProcessFreeBSD::Factory::Launch(ProcessLaunchInfo &launch_info, - NativeDelegate &native_delegate, - MainLoop &mainloop) const { +NativeProcessFreeBSD::Manager::Launch(ProcessLaunchInfo &launch_info, + NativeDelegate &native_delegate) { Log *log = GetLog(POSIXLog::Process); Status status; @@ -91,7 +90,7 @@ NativeProcessFreeBSD::Factory::Launch(ProcessLaunchInfo &launch_info, std::unique_ptr<NativeProcessFreeBSD> process_up(new NativeProcessFreeBSD( pid, launch_info.GetPTY().ReleasePrimaryFileDescriptor(), native_delegate, - Info.GetArchitecture(), mainloop)); + Info.GetArchitecture(), m_mainloop)); status = process_up->SetupTrace(); if (status.Fail()) @@ -105,9 +104,8 @@ NativeProcessFreeBSD::Factory::Launch(ProcessLaunchInfo &launch_info, } llvm::Expected<std::unique_ptr<NativeProcessProtocol>> -NativeProcessFreeBSD::Factory::Attach( - lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate, - MainLoop &mainloop) const { +NativeProcessFreeBSD::Manager::Attach( + lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate) { Log *log = GetLog(POSIXLog::Process); LLDB_LOG(log, "pid = {0:x}", pid); @@ -119,7 +117,7 @@ NativeProcessFreeBSD::Factory::Attach( } std::unique_ptr<NativeProcessFreeBSD> process_up(new NativeProcessFreeBSD( - pid, -1, native_delegate, Info.GetArchitecture(), mainloop)); + pid, -1, native_delegate, Info.GetArchitecture(), m_mainloop)); Status status = process_up->Attach(); if (!status.Success()) @@ -129,7 +127,7 @@ NativeProcessFreeBSD::Factory::Attach( } NativeProcessFreeBSD::Extension -NativeProcessFreeBSD::Factory::GetSupportedExtensions() const { +NativeProcessFreeBSD::Manager::GetSupportedExtensions() const { return #if defined(PT_COREDUMP) Extension::savecore | |
