[lld] [lld][elf] Warn if '*' pattern is used multiple times in version scripts (PR #102669)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 23:47:30 PDT 2024


================
@@ -311,13 +311,44 @@ void SymbolTable::scanVersionScript() {
 
   // Then, assign versions to "*". In GNU linkers they have lower priority than
   // other wildcards.
+  bool globalAsteriskWildcardFound = false;
----------------
MaskRay wrote:

These variables might look mouthful as asterisk is a wildcard character.
Perhaps AsteriskWildcard => `Asterisk`

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


More information about the llvm-commits mailing list