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

Vedant Kumar via llvm-dev
Wed, 03 Feb 2016 18:02:21 -0000

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