[PATCH] D22749: [ELF] - Linkerscript: Implemented SORT command

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 04:49:31 PDT 2016


grimar added inline comments.

================
Comment at: ELF/LinkerScript.cpp:137
@@ +136,3 @@
+            [](InputSectionBase<ELFT> *A, InputSectionBase<ELFT> *B) {
+        return A->getSectionName() < B->getSectionName();
+      });
----------------
evgeny777 wrote:
> What about SORT(*(.data))? How will .data sections be ordered?
> 
> 
In the same order as linker see them ?


https://reviews.llvm.org/D22749





More information about the llvm-commits mailing list