summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-03-21 17:26:55 +0000
committerKamil Rytarowski <n54@gmx.com>2017-03-21 17:26:55 +0000
commita87101d6a777c7d3ed9c516509a324a9b77903ad (patch)
tree643d93c959e5ee021a6181ecd8f5aac71a2505cb
parent750228a6a74231c4c6db5cfef790f078e1aa1a23 (diff)
downloadbcm5719-llvm-a87101d6a777c7d3ed9c516509a324a9b77903ad.tar.gz
bcm5719-llvm-a87101d6a777c7d3ed9c516509a324a9b77903ad.zip
Enable ProcessPOSIXLog on NetBSD
Summary: NetBSD can share the same logging functionality with Linux and FreeBSD. Sponsored by <The NetBSD Foundation> Reviewers: labath, emaste, joerg, kettenis Reviewed By: labath, emaste Subscribers: #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D31191 llvm-svn: 298406
-rw-r--r--lldb/source/Initialization/SystemInitializerCommon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Initialization/SystemInitializerCommon.cpp b/lldb/source/Initialization/SystemInitializerCommon.cpp
index 9098bb7c9ec..805e6091e68 100644
--- a/lldb/source/Initialization/SystemInitializerCommon.cpp
+++ b/lldb/source/Initialization/SystemInitializerCommon.cpp
@@ -26,7 +26,7 @@
#include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
#endif
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
#endif
@@ -93,7 +93,7 @@ void SystemInitializerCommon::Initialize() {
#if defined(__APPLE__)
ObjectFileMachO::Initialize();
#endif
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
ProcessPOSIXLog::Initialize();
#endif
#if defined(_MSC_VER)
OpenPOWER on IntegriCloud