summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatManager.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-03-08 04:03:25 +0000
committerJason Molenda <jmolenda@apple.com>2012-03-08 04:03:25 +0000
commit82df6635fe6543c8d5426512f72a6aa891bd1fbb (patch)
tree9f57b5330db17b0b81db7b64b599ff9c8db31d9e /lldb/source/Core/FormatManager.cpp
parentd60cb3822f6095bb77e6918b1b32e3bc515cc513 (diff)
downloadbcm5719-llvm-82df6635fe6543c8d5426512f72a6aa891bd1fbb.tar.gz
bcm5719-llvm-82df6635fe6543c8d5426512f72a6aa891bd1fbb.zip
Use a new define, NO_XPC_SERVICES, to indicate that macosx/Host.mm
shouldn't compile any of the XPC support code. Update macosx/Host.mm to use that define. Add a LLDB_DISABLE_PYTHON ifdef block around a new function in Core/FormatManager.cpp. <rdar://problem/10942125> llvm-svn: 152293
Diffstat (limited to 'lldb/source/Core/FormatManager.cpp')
-rw-r--r--lldb/source/Core/FormatManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/FormatManager.cpp b/lldb/source/Core/FormatManager.cpp
index 2369514da35..84d26cf0c3e 100644
--- a/lldb/source/Core/FormatManager.cpp
+++ b/lldb/source/Core/FormatManager.cpp
@@ -696,6 +696,7 @@ AddSummary(TypeCategoryImpl::SharedPointer category_sp,
summary_sp);
}
+#ifndef LLDB_DISABLE_PYTHON
static void
AddScriptSummary(TypeCategoryImpl::SharedPointer category_sp,
const char* funct_name,
@@ -712,7 +713,7 @@ AddScriptSummary(TypeCategoryImpl::SharedPointer category_sp,
category_sp->GetSummaryNavigator()->Add(type_name,
summary_sp);
}
-
+#endif
#ifndef LLDB_DISABLE_PYTHON
void
OpenPOWER on IntegriCloud