Part of PR37466.
Depends on D47038
Paths
| Differential D47040
MC: Change object writers to use endian::Writer. NFCI. ClosedPublic Authored by pcc on May 17 2018, 5:00 PM.
Details
Diff Detail
Event Timelinepcc added a child revision: D47042: MC: Have the object writers return the number of bytes written. NFCI..May 17 2018, 5:08 PM This revision is now accepted and ready to land.May 18 2018, 3:22 AM pcc mentioned this in D47032: Support: Simplify endian stream interface. NFCI..May 18 2018, 12:47 PM
Comment Actions LGTM.
Closed by commit rL332861: MC: Change object writers to use endian::Writer. NFCI. (authored by pcc). · Explain WhyMay 21 2018, 11:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 147413 llvm/include/llvm/MC/MCMachObjectWriter.h
llvm/lib/MC/ELFObjectWriter.cpp
llvm/lib/MC/MCLinkerOptimizationHint.cpp
llvm/lib/MC/MachObjectWriter.cpp
llvm/lib/MC/WasmObjectWriter.cpp
llvm/lib/MC/WinCOFFObjectWriter.cpp
llvm/tools/dsymutil/MachOUtils.cpp
|
FWIW this change feels a bit awkward. It's fine for now and I don't know if it's changed in a future patch. That said, it can easily be cleaned up later.