[Lldb-commits] [lldb] [lldb] Change the implementation of Status to store an llvm::Error (NFC) (PR #106774)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 18 11:43:49 PDT 2024


adrian-prantl wrote:

> Actually, the CI failure appears to be relevant. The error path in the test is `errno->std::error_code->Status->Expected` and the code in `CheckIPSupport` expects to get a `llvm::ECError`. It looks like it gets a different type now, and I think that's probably fine, but we should also relax the expectation there.

The problem here is that Status::FromErrno() doesn't create a CloneableECError, so these get lowered to a StringError during cloning. Fix coming up.

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


More information about the lldb-commits mailing list