[Lldb-commits] [PATCH] D32167: Add support for type units (.debug_types) to LLDB in a way that is compatible with DWARF 5

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 19 03:57:15 PDT 2017


labath requested changes to this revision.
labath added a comment.
This revision now requires changes to proceed.

This is the list I am getting when using ToT clang targetting x86_64 linux.

Note that there are a couple of non-type-units test broken by this. This needs to be addressed first.

  =============
  Issue Details
  =============
  FAIL: test_SBType_template_aspects_dwarf_type_units (lang/cpp/stl/TestSTL.py)
  FAIL: test_char_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_char_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_double_type_dwarf_type_units (types/TestFloatTypes.py)
  FAIL: test_double_type_dwarf_type_units (types/TestFloatTypesExpr.py)
  FAIL: test_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py)
  FAIL: test_dwarf_type_units (python_api/type/TestTypeList.py)
  FAIL: test_dwarf_type_units (python_api/value/empty_class/TestValueAPIEmptyClass.py)
  FAIL: test_dwarf_type_units (lang/cpp/wchar_t/TestCxxWCharT.py)
  FAIL: test_dwarf_type_units (expression_command/call-function/TestCallStopAndContinue.py)
  FAIL: test_dwarf_type_units (expression_command/formatters/TestFormatters.py)
  FAIL: test_dwarf_type_units (python_api/sbvalue_persist/TestSBValuePersist.py)
  FAIL: test_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py)
  FAIL: test_enum_args_dwarf_type_units (lang/cpp/template/TestTemplateArgs.py)
  FAIL: test_eval_index_variable_dwarf_type_units (functionalities/non-overlapping-index-variable-i/TestIndexVariable.py)
  FAIL: test_float_type_dwarf_type_units (types/TestFloatTypesExpr.py)
  FAIL: test_float_type_dwarf_type_units (types/TestFloatTypes.py)
  FAIL: test_force_synth_off_dwarf_type_units (python_api/formatters/TestFormattersSBAPI.py)
  FAIL: test_formatters_api_dwarf_type_units (python_api/formatters/TestFormattersSBAPI.py)
  FAIL: test_get_dynamic_vals_dwarf_type_units (lang/cpp/dynamic-value/TestDynamicValue.py)
  FAIL: test_int_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_int_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_integer_args_dwarf_type_units (lang/cpp/template/TestTemplateArgs.py)
  FAIL: test_long_long_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_long_long_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_long_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_long_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_operator_new_dwarf_type_units (lang/cpp/global_operators/TestCppGlobalOperators.py)
  FAIL: test_rdar10960550_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py)
  FAIL: test_recursive_unique_ptr_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py)
  FAIL: test_short_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_short_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_unsigned_char_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_unsigned_char_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_unsigned_int_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_unsigned_int_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_unsigned_long_long_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_unsigned_long_long_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_unsigned_long_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_unsigned_long_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_unsigned_short_type_dwarf_type_units (types/TestIntegerTypes.py)
  FAIL: test_unsigned_short_type_dwarf_type_units (types/TestIntegerTypesExpr.py)
  FAIL: test_value_cast_with_regular_inheritance_dwarf_type_units (lang/cpp/dynamic-value/TestCppValueCast.py)
  FAIL: test_virtual_madness_dwarf_type_units (lang/cpp/virtual/TestVirtual.py)
  FAIL: test_with_dwarf_type_units (expression_command/call-function/TestCallStdStringFunction.py)
  FAIL: test_with_expr_parser_dwarf_type_units (lang/cpp/class_types/TestClassTypes.py)
  FAIL: test_with_gmodules (functionalities/data-formatter/stringprinter/TestStringPrinter.py)
  FAIL: test_with_python_api_dwarf_type_units (lang/cpp/class_static/TestStaticVariables.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/format-propagation/TestFormatPropagation.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py)
  FAIL: test_with_run_command_dwarf_type_units (lang/cpp/class_types/TestClassTypes.py)
  FAIL: test_with_run_command_dwarf_type_units (lang/cpp/static_methods/TestCPPStaticMethods.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py)
  FAIL: test_with_run_command_dwarf_type_units (lang/cpp/diamond/TestDiamond.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py)
  FAIL: test_with_run_command_dwarf_type_units (python_api/sbdata/TestSBData.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py)
  FAIL: test_with_run_command_dwarf_type_units (lang/cpp/overloaded-functions/TestOverloadedFunctions.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/synthcapping/TestSyntheticCapping.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py)
  FAIL: test_with_run_command_dwarf_type_units (lang/cpp/auto/TestCPPAuto.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py)
  FAIL: test_with_run_command_dwarf_type_units (lang/cpp/this/TestCPPThis.py)
  FAIL: test_with_run_command_dwarf_type_units (lang/cpp/chained-calls/TestCppChainedCalls.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py)
  FAIL: test_with_run_command_dwarf_type_units (lang/cpp/class_static/TestStaticVariables.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/type_completion/TestTypeCompletion.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/recursion/TestValueObjectRecursion.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py)
  FAIL: test_with_run_command_dwarf_type_units (functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py)
  ERROR: test_dwarf (functionalities/archives/TestBSDArchives.py)
  ERROR: test_dwarf_type_units (functionalities/archives/TestBSDArchives.py)
  ERROR: test_dwarf_type_units (python_api/value/linked_list/TestValueAPILinkedList.py)
  ERROR: test_dwo (functionalities/archives/TestBSDArchives.py)
  ERROR: test_expr_dwarf (lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py)
  ERROR: test_expr_dwarf_type_units (lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py)
  ERROR: test_expr_dwo (lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py)
  ERROR: test_expr_gmodules (lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py)
  ERROR: test_gmodules (functionalities/archives/TestBSDArchives.py)
  UNEXPECTED SUCCESS: test_dwarf (functionalities/thread/exit_during_break/TestExitDuringBreak.py)
  UNEXPECTED SUCCESS: test_dwarf_type_units (functionalities/thread/exit_during_break/TestExitDuringBreak.py)
  UNEXPECTED SUCCESS: test_dwo (functionalities/thread/exit_during_break/TestExitDuringBreak.py)
  UNEXPECTED SUCCESS: test_gmodules (functionalities/thread/exit_during_break/TestExitDuringBreak.py)
  UNEXPECTED SUCCESS: test_lldbmi_gdb_set_target_async_off (tools/lldb-mi/TestMiGdbSetShow.py)
  UNEXPECTED SUCCESS: test_lldbmi_process_output (tools/lldb-mi/syntax/TestMiSyntax.py)
  UNEXPECTED SUCCESS: test_lldbmi_settings_set_target_run_args_after (tools/lldb-mi/interpreter/TestMiInterpreterExec.py)
  UNEXPECTED SUCCESS: test_process_interrupt_dwarf_type_units (functionalities/thread/state/TestThreadStates.py)
  UNEXPECTED SUCCESS: test_process_interrupt_dwo (functionalities/thread/state/TestThreadStates.py)
  UNEXPECTED SUCCESS: test_process_interrupt_gmodules (functionalities/thread/state/TestThreadStates.py)
  UNEXPECTED SUCCESS: test_restart_bug_dwarf (functionalities/signal/raise/TestRaise.py)
  UNEXPECTED SUCCESS: test_restart_bug_dwarf_type_units (functionalities/signal/raise/TestRaise.py)
  UNEXPECTED SUCCESS: test_sb_api_listener_resume_dwarf (api/multithreaded/TestMultithreaded.py)
  UNEXPECTED SUCCESS: test_sb_api_listener_resume_dwarf_type_units (api/multithreaded/TestMultithreaded.py)
  UNEXPECTED SUCCESS: test_sb_api_listener_resume_dwo (api/multithreaded/TestMultithreaded.py)
  UNEXPECTED SUCCESS: test_sb_api_listener_resume_gmodules (api/multithreaded/TestMultithreaded.py)
  UNEXPECTED SUCCESS: test_with_dwarf (lang/cpp/printf/TestPrintf.py)
  UNEXPECTED SUCCESS: test_with_dwo (lang/cpp/printf/TestPrintf.py)
  UNEXPECTED SUCCESS: test_with_gmodules (lang/cpp/printf/TestPrintf.py)
  
  ===================
  Test Result Summary
  ===================
  Test Methods:       3220
  Reruns:                0
  Success:            2031
  Expected Failure:    187
  Failure:             103
  Error:                 9
  Exceptional Exit:      0
  Unexpected Success:   19
  Skip:                871
  Timeout:               0
  Expected Timeout:      0


https://reviews.llvm.org/D32167





More information about the lldb-commits mailing list