[PATCH] D34072: Fix alignment bug in COFF emission.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 17:30:11 PDT 2017


ruiu added inline comments.


================
Comment at: llvm/lib/Object/WindowsResource.cpp:511
+
+  Current += SectionOnePadding;
 }
----------------
Do you have to memorize how large was a padding? I mean you may be able to do this.

  Current = alignTo(Current, 8)


https://reviews.llvm.org/D34072





More information about the llvm-commits mailing list