[llvm-commits] [lld] r154246 - in /lld/trunk: include/lld/Core/TODO.txt lib/Core/TODO.txt

Nick Kledzik kledzik at apple.com
Sun Apr 8 15:42:04 PDT 2012


On Apr 7, 2012, at 8:53 PM, Michael Spencer wrote:

> On Fri, Apr 6, 2012 at 6:54 PM, Nick Kledzik <kledzik at apple.com> wrote:
>> +* The native/yaml reader/writer interfaces should be changed to return
>> +an explanatory string if there is an error.  The existing error_code
>> +abstraction only works for returning low level OS errors.  It does not
>> +work for describing formatting issues.
> 
> I find passing around strings for diagnostics to not work very well. I
> think instead we should use a proper diagnostics interface.

That is fine.  We just need something richer than an error code!

-Nick




More information about the llvm-commits mailing list