diff options
| author | Davide Italiano <davide@freebsd.org> | 2016-11-16 05:10:28 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2016-11-16 05:10:28 +0000 |
| commit | 6cf09265f9087b5d285d3eec6ee31b49bcce0c9f (patch) | |
| tree | b5d5ba3a43360d5cf9de131aea2155f8a84bb0e5 /llvm/test/BugPoint | |
| parent | 86dd66e96cc57d70639bfbae71f23ad4953ea1a5 (diff) | |
| download | bcm5719-llvm-6cf09265f9087b5d285d3eec6ee31b49bcce0c9f.tar.gz bcm5719-llvm-6cf09265f9087b5d285d3eec6ee31b49bcce0c9f.zip | |
[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
Diffstat (limited to 'llvm/test/BugPoint')
0 files changed, 0 insertions, 0 deletions

