[PATCH] [LLD] COFF: Define error categories for Driver, Reader and Resolver.
ruiu at google.com
Fri May 29 10:30:18 PDT 2015
Now the errors are categorized so that you can handle them programmatically.
All uses of make_dynamic_error_code are removed.
Because we don't have error reporting mechanism, I just chose to print out
error messages to stdout, and then return an error object. Not sure if
that's the right thing to do, but at least it seems practical.
I'm not very happy about the size of Error.h and its density.
That defines only a few things but it is almost 100 lines long.
Maybe it's unavoidable?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13835 bytes
Desc: not available
More information about the llvm-commits