| commit | 6cf09265f9087b5d285d3eec6ee31b49bcce0c9f | [log] [tgz] |
|---|---|---|
| author | Davide Italiano <davide@freebsd.org> | Wed Nov 16 05:10:28 2016 +0000 |
| committer | Davide Italiano <davide@freebsd.org> | Wed Nov 16 05:10:28 2016 +0000 |
| tree | b5d5ba3a43360d5cf9de131aea2155f8a84bb0e5 | |
| parent | 86dd66e96cc57d70639bfbae71f23ad4953ea1a5 [diff] |
[ELF] Convert ELF.h to Expected<T>. This has two advantages: 1) We slowly move away from ErrorOr to the new handling interface, in the hope of having an uniform error handling in LLVM, eventually. 2) We're starting to have *meaningful* error messages for invalid object ELF files, rather than a generic "parse error". At some point we should include also the offset to improve the quality of the diagnostic. llvm-svn: 287081