[all-commits] [llvm/llvm-project] e1462d: Don't produce a dynamic value if there was an erro...

jimingham via All-commits all-commits at lists.llvm.org
Fri Mar 10 10:22:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1462d14b1e4be329a95bdd08181b97a7a3ad6e6
      https://github.com/llvm/llvm-project/commit/e1462d14b1e4be329a95bdd08181b97a7a3ad6e6
  Author: Jim Ingham <jingham at apple.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M lldb/source/Core/ValueObject.cpp
    M lldb/source/Core/ValueObjectConstResult.cpp
    M lldb/source/Core/ValueObjectDynamicValue.cpp
    M lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
    A lldb/test/API/python_api/value/addr_of_void_star/Makefile
    A lldb/test/API/python_api/value/addr_of_void_star/TestValueAPIAddressOfVoidStar.py
    A lldb/test/API/python_api/value/addr_of_void_star/main.c

  Log Message:
  -----------
  Don't produce a dynamic value if there was an error creating it.

We used to make a dynamic value that "pretended to be its parent"
but that's hard for some of the more complex ValueObject types, and
it's better in this case just to return no dynamic value.

Differential Revision: https://reviews.llvm.org/D145629




More information about the All-commits mailing list