[PATCH] D22617: [ELF] - Linkerscript: add InputSectionDescription command to LS parser.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 06:54:18 PDT 2016


grimar added inline comments.

================
Comment at: ELF/LinkerScript.cpp:266
@@ -245,2 +265,3 @@
+  }
 
   // Add all other input sections, which are not listed in script.
----------------
Afraid I am a bit lost in this puzzle :)
Is that what you mean ?

```
static bool match(StringRef T, ArrayRef<StringRef> Pattern) {
  for (StringRef S : Pattern)
    if (globMatch(S, T))
      return true;
  return false;
}
```


https://reviews.llvm.org/D22617





More information about the llvm-commits mailing list