[llvm-dev] [RFC] Error handling in LLVM libraries.

Vedant Kumar via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 3 10:02:21 PST 2016


Hi Lang,

>  I expect to encounter more issues like this as I continue work on the MachO side of LLD. I see tackling the error modeling problem as a first step towards improving error handling in general: if we make it easy to model errors, it may pave the way for better error handling in many parts of our libraries.

+ 1, I'd like to use this throughout lib/ProfileData. It's a bit frustrating to see crashers which simply state: "Malformed profile data". It'd great to know _where_ the issue actually is.

vedant


More information about the llvm-dev mailing list