[PATCH] D35640: [lld] [COFF] Align import address chunks to the pointer size

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 14:23:11 PDT 2017


ruiu added inline comments.


================
Comment at: COFF/Chunks.cpp:189-190
+    fatal("misaligned ldr/str offset");
   Imm >>= Size;
   applyArm64Imm(Off, Imm);
 }
----------------
It is probably better to write this as `applyArm64Imm(Off, Imm >> Size)`


https://reviews.llvm.org/D35640





More information about the llvm-commits mailing list