Revert "Revert "[lldb] [Process/NetBSD] Fix constructor after r363707""

The relevant changes have been reapplied, and broke build again.

llvm-svn: 366889
This commit is contained in:
Michal Gorny 2019-07-24 11:44:43 +00:00
parent 5adbfdda2d
commit b09bc8a27d
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ NativeProcessNetBSD::NativeProcessNetBSD(::pid_t pid, int terminal_fd,
NativeDelegate &delegate, NativeDelegate &delegate,
const ArchSpec &arch, const ArchSpec &arch,
MainLoop &mainloop) MainLoop &mainloop)
: NativeProcessProtocol(pid, terminal_fd, delegate), m_arch(arch) { : NativeProcessELF(pid, terminal_fd, delegate), m_arch(arch) {
if (m_terminal_fd != -1) { if (m_terminal_fd != -1) {
Status status = EnsureFDFlags(m_terminal_fd, O_NONBLOCK); Status status = EnsureFDFlags(m_terminal_fd, O_NONBLOCK);
assert(status.Success()); assert(status.Success());