diff options
author | Jason Molenda <jmolenda@apple.com> | 2012-02-21 05:33:55 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2012-02-21 05:33:55 +0000 |
commit | cf7e2dc09a0af91cf15d6e2ec891b3c315c028c8 (patch) | |
tree | 27610667a81bacb9009019e5c6a704b02dabbb56 /lldb/source/API/SBDebugger.cpp | |
parent | 021f73684b14008f412b3c1b1f42400bdfb11380 (diff) | |
download | bcm5719-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/SBDebugger.cpp')
-rw-r--r-- | lldb/source/API/SBDebugger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp index 8150cb04b93..6628c1aa1f5 100644 --- a/lldb/source/API/SBDebugger.cpp +++ b/lldb/source/API/SBDebugger.cpp @@ -1135,6 +1135,7 @@ SBDebugger::GetFormatForType (SBTypeNameSpecifier type_name) return SBTypeFormat(); } +#ifndef LLDB_DISABLE_PYTHON SBTypeSummary SBDebugger::GetSummaryForType (SBTypeNameSpecifier type_name) { @@ -1158,6 +1159,7 @@ SBDebugger::GetSummaryForType (SBTypeNameSpecifier type_name) } return summary_chosen; } +#endif // LLDB_DISABLE_PYTHON SBTypeFilter SBDebugger::GetFilterForType (SBTypeNameSpecifier type_name) @@ -1183,6 +1185,7 @@ SBDebugger::GetFilterForType (SBTypeNameSpecifier type_name) return filter_chosen; } +#ifndef LLDB_DISABLE_PYTHON SBTypeSynthetic SBDebugger::GetSyntheticForType (SBTypeNameSpecifier type_name) { @@ -1206,6 +1209,7 @@ SBDebugger::GetSyntheticForType (SBTypeNameSpecifier type_name) } return synth_chosen; } +#endif // LLDB_DISABLE_PYTHON bool SBDebugger::EnableLog (const char *channel, const char **categories) |