This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy] [COFF] Use Error/Expected returns instead of calling reportError. NFC.
ClosedPublic

Authored by mstorsjo on Dec 20 2018, 5:41 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Dec 20 2018, 5:41 AM

I think this is a step in the right direction, although now we have some inconsistency with the existing code, but okay, I hope we will change the old code in the future as well. Plus I will change the not yet committed code for MachO myself.

This revision is now accepted and ready to land.Dec 20 2018, 4:37 PM
This revision was automatically updated to reflect the committed changes.