[Lldb-commits] [lldb] r368852 - Add missing SetID method to fix Windows build
Aaron Smith via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 14 06:49:52 PDT 2019
Author: asmith
Date: Wed Aug 14 06:49:52 2019
New Revision: 368852
URL: http://llvm.org/viewvc/llvm-project?rev=368852&view=rev
Log:
Add missing SetID method to fix Windows build
Modified:
lldb/trunk/include/lldb/Host/common/NativeProcessProtocol.h
Modified: lldb/trunk/include/lldb/Host/common/NativeProcessProtocol.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/common/NativeProcessProtocol.h?rev=368852&r1=368851&r2=368852&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/common/NativeProcessProtocol.h (original)
+++ lldb/trunk/include/lldb/Host/common/NativeProcessProtocol.h Wed Aug 14 06:49:52 2019
@@ -430,6 +430,8 @@ protected:
NativeProcessProtocol(lldb::pid_t pid, int terminal_fd,
NativeDelegate &delegate);
+ void SetID(lldb::pid_t pid) { m_pid = pid; }
+
// interface for state handling
void SetState(lldb::StateType state, bool notify_delegates = true);
More information about the lldb-commits
mailing list