[Lldb-commits] [lldb] r189598 - Disable stub Host::FindProcesses on FreeBSD

Ed Maste emaste at freebsd.org
Thu Aug 29 11:44:27 PDT 2013


Author: emaste
Date: Thu Aug 29 13:44:27 2013
New Revision: 189598

URL: http://llvm.org/viewvc/llvm-project?rev=189598&view=rev
Log:
Disable stub Host::FindProcesses on FreeBSD

A FreeBSD implementation was added in r189295.

Modified:
    lldb/trunk/source/Host/common/Host.cpp

Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=189598&r1=189597&r2=189598&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Thu Aug 29 13:44:27 2013
@@ -1318,16 +1318,14 @@ Host::GetOSKernelDescription (std::strin
 }
 #endif
 
-#if !defined (__APPLE__) && !defined(__linux__)
+#if !defined (__APPLE__) && !defined (__FreeBSD__) && !defined (__FreeBSD_kernel__) && !defined(__linux__)
 uint32_t
 Host::FindProcesses (const ProcessInstanceInfoMatch &match_info, ProcessInstanceInfoList &process_infos)
 {
     process_infos.Clear();
     return process_infos.GetSize();
 }
-#endif // #if !defined (__APPLE__) && !defined(__linux__)
 
-#if !defined (__APPLE__) && !defined (__FreeBSD__) && !defined (__FreeBSD_kernel__) && !defined(__linux__)
 bool
 Host::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info)
 {





More information about the lldb-commits mailing list