[PATCH] D35052: Fix ObjCPass on big-endian host

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 16:26:19 PDT 2017


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/ReaderWriter/MachO/ObjCPass.cpp:59-60
+
+    using normalized::write32;
+    write32(Data.bytes + 4, Data.info.flags, isBig);
   }
----------------
Is there any reason not to write

  normalized::write32(...)

?


https://reviews.llvm.org/D35052





More information about the llvm-commits mailing list