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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 15:29:24 PDT 2016


ruiu added inline comments.

================
Comment at: ELF/LinkerScript.cpp:760
@@ -764,1 +759,3 @@
+    if (SortKind K2 = readSortKind()) {
+      Cmd->SortInner = K2;
       expect("(");
----------------
Yup. Double-sorting is wasteful, but it's probably doesn't have to be handled as an error


https://reviews.llvm.org/D23140





More information about the llvm-commits mailing list