[PATCH] D24604: [ELF] - Implemented --sort-section cmd line option and SORT_NONE script command.
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 15 05:34:07 PDT 2016
rafael added inline comments.
================
Comment at: ELF/LinkerScript.cpp:976
@@ +975,3 @@
+static SortKind getSortKind() {
+ if (Config->SortSection == "alignment")
+ return SortByAlignment;
----------------
Please change the Config to store the parsed enum value.
Can you make it an error to pass an unknown value?
https://reviews.llvm.org/D24604
More information about the llvm-commits
mailing list