[PATCH] D23140: Split InputSectionDescription::Sort into SortInner and SortOuter.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 02:47:57 PDT 2016


grimar added inline comments.

================
Comment at: lld/trunk/ELF/LinkerScript.cpp:149
@@ +148,3 @@
+  // This is compatible with GNU.
+  return A->Alignment > B->Alignment;
+}
----------------
btw interesting that gold has an issue here. lld and ld are compatible, but gold sorts by alignment in assending order what
is different from spec and looks like a bug.


Repository:
  rL LLVM

https://reviews.llvm.org/D23140





More information about the llvm-commits mailing list