This is an archive of the discontinued LLVM Phabricator instance.

MC: Change MCAssembler::writeSectionData and writeFragmentPadding to take a raw_ostream. NFCI.
ClosedPublic

Authored by pcc on May 17 2018, 4:14 PM.

Details

Summary

Also clean up a couple of hacks where we were writing the section
contents to another stream by setting the object writer's stream,
writing and setting it back.

Part of PR37466.

Depends on D47035

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.May 17 2018, 4:14 PM
pcc updated this revision to Diff 147409.May 17 2018, 4:19 PM
  • Fix one more user of writeNopData
echristo accepted this revision.May 20 2018, 6:13 PM

LGTM.

Thanks!

This revision is now accepted and ready to land.May 20 2018, 6:13 PM
This revision was automatically updated to reflect the committed changes.