[all-commits] [llvm/llvm-project] 539b72: [lldb] Return an llvm::Expected from DWARFExpressi...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jun 5 10:58:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 539b72f2e15f0d8a74a6c05c7085035040a3a831
      https://github.com/llvm/llvm-project/commit/539b72f2e15f0d8a74a6c05c7085035040a3a831
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Expression/DWARFExpression.h
    M lldb/include/lldb/Expression/DWARFExpressionList.h
    M lldb/source/Core/ValueObjectVariable.cpp
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/source/Expression/DWARFExpressionList.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Symbol/Function.cpp
    M lldb/source/Target/RegisterContextUnwind.cpp
    M lldb/source/Target/StackFrame.cpp
    M lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp
    M lldb/unittests/Expression/DWARFExpressionTest.cpp
    M llvm/include/llvm/Support/Error.h

  Log Message:
  -----------
  [lldb] Return an llvm::Expected from DWARFExpression::Evaluate (NFCI) (#94420)

Change the signature of `DWARFExpression::Evaluate` and
`DWARFExpressionList::Evaluate` to return an `llvm::Expected` instead of a
boolean. This eliminates the `Status` output parameter and generally improves
error handling.



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