[PATCH] D64880: ELF: Allow forward references to linked sections.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 19:20:22 PDT 2019
MaskRay added inline comments.
================
Comment at: lld/ELF/InputFiles.cpp:657
+
+ for (size_t i = 0, e = objSections.size(); i < e; i++) {
+ if (this->sections[i] == &InputSection::discarded)
----------------
This can be changed to a range-based for.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64880/new/
https://reviews.llvm.org/D64880
More information about the llvm-commits
mailing list