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

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 5 08:44:56 PDT 2024


================
@@ -2042,7 +2043,7 @@ bool RegisterContextUnwind::ReadFrameAddress(
       return true;
     }
     UnwindLogMsg("Failed to set CFA value via DWARF expression: %s",
-                 error.AsCString());
+                 llvm::toString(result.takeError()).c_str());
----------------
JDevlieghere wrote:

Yup

https://github.com/llvm/llvm-project/pull/94420


More information about the llvm-commits mailing list