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