[PATCH] D38846: [ELF] - Linkerscript: Fix issues with SUBALIGN.

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 09:28:29 PDT 2017


jhenderson added inline comments.


================
Comment at: ELF/LinkerScript.cpp:881
+    if (CanUseDot)
       return {Ctx->OutSec, false, Dot - Ctx->OutSec->Addr, Loc};
     error(Loc + ": unable to get location counter value");
----------------
Is Ctx always going to be available here? Was the old check redundant?


https://reviews.llvm.org/D38846





More information about the llvm-commits mailing list