[PATCH] D148726: [ELF] Support --exclude-inputs

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 10:28:20 PDT 2023


MaskRay added inline comments.


================
Comment at: lld/ELF/Driver.cpp:233
 
+  for (const llvm::GlobPattern &pat : config->excludeInputs) {
+    if (pat.match(path))
----------------
no brace for cascading single-line while/for/if

Actually, it may be useful to add a log comment in `--verbose` mode.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148726



More information about the llvm-commits mailing list