Guard AddCXXSynthetic with LLDB_DISABLE_PYTHON
The function only avaibleble when python is enabled. Guard the new call in the Java plugin with LLDB_DISABLE_PYTHON until we can change AddCXXSynthetic to be available in all case to get the build bots green again. llvm-svn: 268626
This commit is contained in:
parent
cff1935330
commit
21c3fdeda8
|
|
@ -101,9 +101,11 @@ JavaLanguage::GetFormatters()
|
|||
g_category->GetRegexTypeSummariesContainer()->Add(RegularExpressionSP(new RegularExpression(array_regexp)),
|
||||
array_summary_sp);
|
||||
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
AddCXXSynthetic(g_category, lldb_private::formatters::JavaArraySyntheticFrontEndCreator,
|
||||
"Java array synthetic children", ConstString(array_regexp),
|
||||
SyntheticChildren::Flags().SetCascades(true), true);
|
||||
#endif
|
||||
}
|
||||
});
|
||||
return g_category;
|
||||
|
|
|
|||
Loading…
Reference in New Issue