[PATCH] D48756: [gold-plugin] Add option for section ordering

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 12:33:02 PDT 2018


pcc accepted this revision.
pcc added a comment.

LGTM

In https://reviews.llvm.org/D48756#1160684, @void wrote:

> Is this the change you were thinking of?


Yes, pretty much.



================
Comment at: tools/gold/gold-plugin.cpp:118
 static bool IsExecutable = false;
+static bool FuncSplitSections = true;
+static bool DataSplitSections = true;
----------------
I'd just have a single variable `SplitSections`.


Repository:
  rL LLVM

https://reviews.llvm.org/D48756





More information about the llvm-commits mailing list