OSDN Git Service

MC: Have the object writers return the number of bytes written. NFCI.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 21 May 2018 18:23:50 +0000 (18:23 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 21 May 2018 18:23:50 +0000 (18:23 +0000)
commit0d4292ff61ec710226ae8e8bff2fc7d73eb9431c
tree159f7cae777701bdd9f0a8d9b9a2b83b1086f9d4
parentfe5e50fc87d19d5aa0046ff7fa3d366c8d09eb95
MC: Have the object writers return the number of bytes written. NFCI.

This removes the last external use of the stream.

Part of PR37466.

Differential Revision: https://reviews.llvm.org/D47042

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332863 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCMachObjectWriter.h
include/llvm/MC/MCObjectWriter.h
lib/MC/ELFObjectWriter.cpp
lib/MC/MCAssembler.cpp
lib/MC/MachObjectWriter.cpp
lib/MC/WasmObjectWriter.cpp
lib/MC/WinCOFFObjectWriter.cpp