[Lldb-commits] [lldb] r216612 - Fix linker error due to missing static variable instantiation.

Zachary Turner zturner at google.com
Wed Aug 27 13:44:26 PDT 2014


Author: zturner
Date: Wed Aug 27 15:44:26 2014
New Revision: 216612

URL: http://llvm.org/viewvc/llvm-project?rev=216612&view=rev
Log:
Fix linker error due to missing static variable instantiation.

Modified:
    lldb/trunk/source/Host/posix/HostProcessPosix.cpp

Modified: lldb/trunk/source/Host/posix/HostProcessPosix.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/posix/HostProcessPosix.cpp?rev=216612&r1=216611&r2=216612&view=diff
==============================================================================
--- lldb/trunk/source/Host/posix/HostProcessPosix.cpp (original)
+++ lldb/trunk/source/Host/posix/HostProcessPosix.cpp Wed Aug 27 15:44:26 2014
@@ -16,6 +16,8 @@
 
 using namespace lldb_private;
 
+const lldb::pid_t HostProcessPosix::kInvalidProcessId = 0;
+
 HostProcessPosix::HostProcessPosix()
 : m_pid(kInvalidProcessId)
 {





More information about the lldb-commits mailing list