summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBValue.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-02-21 05:33:55 +0000
committerJason Molenda <jmolenda@apple.com>2012-02-21 05:33:55 +0000
commitcf7e2dc09a0af91cf15d6e2ec891b3c315c028c8 (patch)
tree27610667a81bacb9009019e5c6a704b02dabbb56 /lldb/source/API/SBValue.cpp
parent021f73684b14008f412b3c1b1f42400bdfb11380 (diff)
downloadbcm5719-llvm-cf7e2dc09a0af91cf15d6e2ec891b3c315c028c8.tar.gz
bcm5719-llvm-cf7e2dc09a0af91cf15d6e2ec891b3c315c028c8.zip
Patch Enrico's changes from r150558 on 2012-02-14 to build even if Python
is not available (LLDB_DISABLE_PYTHON is defined). Change build-swig-Python.sh to emit an empty LLDBPythonWrap.cpp file if this build is LLDB_DISABLE_PYTHON. Change the "Copy to Xcode.app" shell script phase in the lldb.xcodeproj to only do this copying for Mac native builds. llvm-svn: 151035
Diffstat (limited to 'lldb/source/API/SBValue.cpp')
-rw-r--r--lldb/source/API/SBValue.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/API/SBValue.cpp b/lldb/source/API/SBValue.cpp
index d4d2c06a448..9818eb35e8b 100644
--- a/lldb/source/API/SBValue.cpp
+++ b/lldb/source/API/SBValue.cpp
@@ -310,6 +310,7 @@ SBValue::GetValueDidChange ()
return result;
}
+#ifndef LLDB_DISABLE_PYTHON
const char *
SBValue::GetSummary ()
{
@@ -334,6 +335,7 @@ SBValue::GetSummary ()
}
return cstr;
}
+#endif // LLDB_DISABLE_PYTHON
const char *
SBValue::GetLocation ()
@@ -399,6 +401,7 @@ SBValue::GetTypeFormat ()
return format;
}
+#ifndef LLDB_DISABLE_PYTHON
lldb::SBTypeSummary
SBValue::GetTypeSummary ()
{
@@ -420,6 +423,7 @@ SBValue::GetTypeSummary ()
}
return summary;
}
+#endif // LLDB_DISABLE_PYTHON
lldb::SBTypeFilter
SBValue::GetTypeFilter ()
@@ -447,6 +451,7 @@ SBValue::GetTypeFilter ()
return filter;
}
+#ifndef LLDB_DISABLE_PYTHON
lldb::SBTypeSynthetic
SBValue::GetTypeSynthetic ()
{
@@ -472,6 +477,7 @@ SBValue::GetTypeSynthetic ()
}
return synthetic;
}
+#endif
lldb::SBValue
SBValue::CreateChildAtOffset (const char *name, uint32_t offset, SBType type)
OpenPOWER on IntegriCloud