[PATCH] D47040: MC: Change object writers to use endian::Writer. NFCI.
    Jonas Devlieghere via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri May 18 03:22:46 PDT 2018
    
    
  
JDevlieghere accepted this revision.
JDevlieghere added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/tools/dsymutil/MachOUtils.cpp:493
     // transferSymbol).
-    Writer.WriteZeros(1);
+    OutFile << '\0';
     std::vector<DwarfStringPoolEntryRef> Strings = NewStrings.getEntries();
----------------
Why not use `write_zeros` here too?
https://reviews.llvm.org/D47040
    
    
More information about the llvm-commits
mailing list