[PATCH] D72775: [ELF] Optimization to LinkerScript::computeInputSections NFC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 10:40:54 PST 2020


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lld/ELF/LinkerScript.cpp:429
 
+      // Check the name early to improve performance in the common case.
+      if (!pat.sectionPat.match(sec->name))
----------------
check the **section** name


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72775/new/

https://reviews.llvm.org/D72775





More information about the llvm-commits mailing list