[PATCH] D47038: MC: Change MCAssembler::writeSectionData and writeFragmentPadding to take a raw_ostream. NFCI.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 16:14:34 PDT 2018


pcc created this revision.
pcc added reviewers: dblaikie, echristo.
Herald added subscribers: aheejin, hiraditya, sbc100.
Herald added a reviewer: JDevlieghere.

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 https://reviews.llvm.org/D47035


https://reviews.llvm.org/D47038

Files:
  llvm/include/llvm/MC/MCAssembler.h
  llvm/lib/MC/ELFObjectWriter.cpp
  llvm/lib/MC/MCAssembler.cpp
  llvm/lib/MC/MCELFStreamer.cpp
  llvm/lib/MC/MachObjectWriter.cpp
  llvm/lib/MC/WasmObjectWriter.cpp
  llvm/lib/MC/WinCOFFObjectWriter.cpp
  llvm/tools/dsymutil/MachOUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47038.147407.patch
Type: text/x-patch
Size: 12271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180517/d899be8d/attachment.bin>


More information about the llvm-commits mailing list