[lld] [lld][ELF] Allow implicit wildcard in archive file name (PR #119293)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 22:28:41 PST 2024


================
@@ -195,6 +195,7 @@ class SectionPattern {
 
 class InputSectionDescription : public SectionCommand {
   SingleStringMatcher filePat;
+  SmallString<0> implicitArchiveWildcardPat;
----------------
MaskRay wrote:

nit: move before since the lifetime of the SmallString should be larger than `filePat`

https://github.com/llvm/llvm-project/pull/119293


More information about the llvm-commits mailing list