[PATCH] D43574: [ELF] - Introduce getInputSections() helper.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 10:50:21 PST 2018


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: ELF/SyntheticSections.cpp:2582-2584
+  return llvm::all_of(getInputSections(getParent()), [](InputSection *IS) {
+    return isa<ARMExidxSentinelSection>(IS);
+  });
----------------
Please write it with a regular for-loop instead of a higher-order function.


https://reviews.llvm.org/D43574





More information about the llvm-commits mailing list