[PATCH] D36351: [lld][ELF] Add profile guided section layout

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 28 08:16:14 PDT 2018


espindola added inline comments.


================
Comment at: ELF/CallGraphSort.cpp:246
+    for (SectionIndex PI : S.Preds) {
+      Edge &E = Edges[EdgeMap[{PI, SI, 0,  0}]];
+      if (S.Weight == 0)
----------------
please git-clang-format the patch.


https://reviews.llvm.org/D36351





More information about the llvm-commits mailing list