[PATCH] D87469: [LLD][ELF] Optimize linker script filename glob pattern matching NFC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 10:51:37 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/ELF/LinkerScript.cpp:436
 
-      std::string filename = getFilename(sec->file);
-      if (!cmd->filePat.match(filename) ||
----------------
Is the string allocation the bottleneck?


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

https://reviews.llvm.org/D87469



More information about the llvm-commits mailing list