[PATCH] D48690: lld-link: align sections to 16 bytes if referenced from the gfids table

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 21:45:05 PDT 2018


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

LGTM



================
Comment at: lld/COFF/Writer.cpp:1049
+  // Ensure sections referenced in the gfid table are 16-byte aligned.
+  for (const auto &C : AddressTakenSyms)
+    if (C.InputChunk->Alignment < 16)
----------------
Please replace `auto` with the real type.


https://reviews.llvm.org/D48690





More information about the llvm-commits mailing list