diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-11-03 20:16:53 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-11-03 20:16:53 +0000 |
commit | e69644321fad7281150c010821b2ca34f2e9bc3d (patch) | |
tree | 119287e5ef2e285a55c45adc7a6c8bd55d673335 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | bd87eb459de0b0be2785c191b69add3db65daa79 (diff) | |
download | llvm-e69644321fad7281150c010821b2ca34f2e9bc3d.zip llvm-e69644321fad7281150c010821b2ca34f2e9bc3d.tar.gz llvm-e69644321fad7281150c010821b2ca34f2e9bc3d.tar.bz2 |
Don't error in the ELFFile constructor.
All error checking now happens when the information is needed. The
only thing left is the minimum size of the buffer and that can be just
a precondition. I will add an ErrorOr create method in a followup
commit.
Also don't store a pointer to the Header, since it is just a trivial
cast.
llvm-svn: 285961
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions