[PATCH] D41397: [ELF] - Fix for ld.lld does not accept "AT" syntax for declaring LMA region

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 14:22:02 PST 2018


ruiu added inline comments.


================
Comment at: ELF/LinkerScript.cpp:676
   }
+  if (Sec->LMARegion) {
+    uint64_t D = Dot;
----------------
Looks like you don't even need this `LMARegion` member in the first place, as you can just check if LMARegionName is empty here.


https://reviews.llvm.org/D41397





More information about the llvm-commits mailing list