labath wrote: > I considered _always_ logging to the system log, but copying/cloning errors > is a bit tricky. I could reuse the logic that Adrian added to status, but > wanted to gather your input. Regardless, I tried this out locally by > debugging the `count` tool and this already reported a bunch of errors that > would have otherwise gone unnoticed. I haven't looked at them in detail but > these were all things I've never seen before.
FWIW, it is possible to serialize an llvm::Error (for example, using llvm::formatv) without consuming it. (I think it did not exist back when this macro was written) It would just require some refactoring of the macro... https://github.com/llvm/llvm-project/pull/111911 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits