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.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151035 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp
index d4d2c06..9818eb3 100644
--- a/source/API/SBValue.cpp
+++ b/source/API/SBValue.cpp
@@ -310,6 +310,7 @@
return result;
}
+#ifndef LLDB_DISABLE_PYTHON
const char *
SBValue::GetSummary ()
{
@@ -334,6 +335,7 @@
}
return cstr;
}
+#endif // LLDB_DISABLE_PYTHON
const char *
SBValue::GetLocation ()
@@ -399,6 +401,7 @@
return format;
}
+#ifndef LLDB_DISABLE_PYTHON
lldb::SBTypeSummary
SBValue::GetTypeSummary ()
{
@@ -420,6 +423,7 @@
}
return summary;
}
+#endif // LLDB_DISABLE_PYTHON
lldb::SBTypeFilter
SBValue::GetTypeFilter ()
@@ -447,6 +451,7 @@
return filter;
}
+#ifndef LLDB_DISABLE_PYTHON
lldb::SBTypeSynthetic
SBValue::GetTypeSynthetic ()
{
@@ -472,6 +477,7 @@
}
return synthetic;
}
+#endif
lldb::SBValue
SBValue::CreateChildAtOffset (const char *name, uint32_t offset, SBType type)