[Lldb-commits] [lldb] [lldb] Log errors to the system log if they would otherwise get dropped (PR #111911)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 15:30:44 PDT 2024


adrian-prantl wrote:

To clone an error, do Status::FromError(error). Every call to Status::toError() clones the error (as opposed to takeError()). Generally we want to avoid cloning errors though.

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


More information about the lldb-commits mailing list