[PATCH] D23829: [ELF] - Use std::regex instead of hand written logic in elf::globMatch()

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 08:43:38 PDT 2016


ruiu added inline comments.

================
Comment at: ELF/Strings.cpp:42
@@ -44,3 +41,3 @@
+      T += F;
     S = S.substr(1);
   }
----------------
Are you sure? What will happen if you have this?

  SECTIONS { .text : { "foo(bar*).o"( .text ); } }

where "foo(bar*).o" is an actual file name.


https://reviews.llvm.org/D23829





More information about the llvm-commits mailing list