forked from OSchip/llvm-project
Stop enabling the std::vector<bool> data formatter for libstdc++, and for that matter, also skip running the test on Darwin. libstdc++ is more relevant on non-Apple platforms
llvm-svn: 218952
This commit is contained in:
parent
b56b18d8b3
commit
29ba63d336
|
@ -1028,13 +1028,6 @@ FormatManager::LoadLibStdcppFormatters()
|
||||||
AddCXXSynthetic(gnu_category_sp, lldb_private::formatters::LibStdcppVectorIteratorSyntheticFrontEndCreator, "std::vector iterator synthetic children", ConstString("^__gnu_cxx::__normal_iterator<.+>$"), stl_synth_flags, true);
|
AddCXXSynthetic(gnu_category_sp, lldb_private::formatters::LibStdcppVectorIteratorSyntheticFrontEndCreator, "std::vector iterator synthetic children", ConstString("^__gnu_cxx::__normal_iterator<.+>$"), stl_synth_flags, true);
|
||||||
|
|
||||||
AddCXXSynthetic(gnu_category_sp, lldb_private::formatters::LibstdcppMapIteratorSyntheticFrontEndCreator, "std::map iterator synthetic children", ConstString("^std::_Rb_tree_iterator<.+>$"), stl_synth_flags, true);
|
AddCXXSynthetic(gnu_category_sp, lldb_private::formatters::LibstdcppMapIteratorSyntheticFrontEndCreator, "std::map iterator synthetic children", ConstString("^std::_Rb_tree_iterator<.+>$"), stl_synth_flags, true);
|
||||||
|
|
||||||
gnu_category_sp->GetTypeSummariesContainer()->Add(ConstString("std::vector<std::allocator<bool> >"),
|
|
||||||
TypeSummaryImplSP(new StringSummaryFormat(stl_summary_flags, "size=${svar%#}")));
|
|
||||||
|
|
||||||
gnu_category_sp->GetTypeSyntheticsContainer()->Add(ConstString("std::vector<std::allocator<bool> >"),
|
|
||||||
SyntheticChildrenSP(new CXXSyntheticChildren(stl_synth_flags,"libc++ std::vector<bool> synthetic children",lldb_private::formatters::LibstdcppVectorBoolSyntheticFrontEndCreator)));
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ class StdVBoolDataFormatterTestCase(TestBase):
|
||||||
|
|
||||||
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
|
||||||
@dsym_test
|
@dsym_test
|
||||||
|
@skipIfDarwin
|
||||||
def test_with_dsym_and_run_command(self):
|
def test_with_dsym_and_run_command(self):
|
||||||
"""Test data formatter commands."""
|
"""Test data formatter commands."""
|
||||||
self.buildDsym()
|
self.buildDsym()
|
||||||
|
@ -21,6 +22,7 @@ class StdVBoolDataFormatterTestCase(TestBase):
|
||||||
|
|
||||||
@expectedFailureFreeBSD("llvm.org/pr20548") # fails to build on lab.llvm.org buildbot
|
@expectedFailureFreeBSD("llvm.org/pr20548") # fails to build on lab.llvm.org buildbot
|
||||||
@dwarf_test
|
@dwarf_test
|
||||||
|
@skipIfDarwin
|
||||||
def test_with_dwarf_and_run_command(self):
|
def test_with_dwarf_and_run_command(self):
|
||||||
"""Test data formatter commands."""
|
"""Test data formatter commands."""
|
||||||
self.buildDwarf()
|
self.buildDwarf()
|
||||||
|
|
Loading…
Reference in New Issue