[all-commits] [llvm/llvm-project] 6462ea: Report back errors in GetNumChildren() (#84265)

Adrian Prantl via All-commits all-commits at lists.llvm.org
Mon Mar 11 13:05:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6462eadbd316aed1b1074ed73bcaf1698886bba1
      https://github.com/llvm/llvm-project/commit/6462eadbd316aed1b1074ed73bcaf1698886bba1
  Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
    M lldb/source/Core/ValueObjectVariable.cpp
    M lldb/source/DataFormatters/ValueObjectPrinter.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Symbol/CompilerType.cpp
    A lldb/test/API/functionalities/valobj_errors/Makefile
    A lldb/test/API/functionalities/valobj_errors/TestValueObjectErrors.py
    A lldb/test/API/functionalities/valobj_errors/hidden.c
    A lldb/test/API/functionalities/valobj_errors/main.c
    M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_declaration-with-children.s
    M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-missing-signature.test

  Log Message:
  -----------
  Report back errors in GetNumChildren() (#84265)

This is a proof-of-concept patch that illustrates how to use the
Expected return values to surface rich error messages all the way up
to the ValueObjectPrinter.

This is the final patch in the series that includes
https://github.com/llvm/llvm-project/pull/83501 and
https://github.com/llvm/llvm-project/pull/84219



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list