This is an archive of the discontinued LLVM Phabricator instance.

[llvm] Fix D26214: Move error handling out of MC and to the callers.
ClosedPublic

Authored by mgrang on Dec 2 2016, 11:52 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

mgrang updated this revision to Diff 80113.Dec 2 2016, 11:52 AM
mgrang retitled this revision from to Fix D26214: Move error handling out of MC and to the callers..
mgrang updated this object.
mgrang added reviewers: dgross, echristo, t.p.northover.
mgrang set the repository for this revision to rL LLVM.
mgrang added a subscriber: llvm-commits.
mgrang retitled this revision from Fix D26214: Move error handling out of MC and to the callers. to [llvm] Fix D26214: Move error handling out of MC and to the callers..Dec 2 2016, 11:54 AM
mgrang updated this object.
dgross resigned from this revision.Dec 2 2016, 12:02 PM
dgross removed a reviewer: dgross.
compnerd accepted this revision.Dec 2 2016, 5:46 PM
compnerd added a reviewer: compnerd.
compnerd added a subscriber: compnerd.

This is definitely an improvement. Printing out to errs from MC is less than ideal, especially given all the work that has gone in to pipe messages back from the MCAssembler.

This revision is now accepted and ready to land.Dec 2 2016, 5:46 PM
echristo accepted this revision.Dec 5 2016, 2:01 PM
echristo edited edge metadata.

This is better, yes.

This revision was automatically updated to reflect the committed changes.