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
Paths
| Differential D47038
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 Part of PR37466. Depends on D47035
Diff Detail
Event Timelinepcc added a child revision: D47040: MC: Change object writers to use endian::Writer. NFCI..May 17 2018, 5:00 PM This revision is now accepted and ready to land.May 20 2018, 6:13 PM Closed by commit rL332858: MC: Change MCAssembler::writeSectionData and writeFragmentPadding to take a… (authored by pcc). · Explain WhyMay 21 2018, 11:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 147407 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
|