[PATCH] D46672: COFF: ICF a section and its associated pdata section as a unit.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 11:03:38 PDT 2018


ruiu added inline comments.


================
Comment at: lld/COFF/ICF.cpp:133
+bool ICF::assocEquals(const SectionChunk *A, const SectionChunk *B) {
+  auto ChildClasses = [&](const SectionChunk *SC) {
+    std::vector<uint32_t> Classes;
----------------
Is there any way to write this without creating temporary std::vector objects?


https://reviews.llvm.org/D46672





More information about the llvm-commits mailing list