symcheck: Skip __ymm@ symbols on Windows

Like `__real@`, and `__xmm@`, Windows can emit duplicate `__ymm@`
symbols for constants.
This commit is contained in:
Trevor Gross
2025-08-09 15:42:48 -05:00
parent bf8487827d
commit 531d5aa593

View File

@@ -222,7 +222,7 @@ fn verify_no_duplicates(archive: &Archive) {
// Windows has symbols for literal numeric constants, string literals, and MinGW pseudo-
// relocations. These are allowed to have repeated definitions.
let win_allowed_dup_pfx = ["__real@", "__xmm@", "??_C@_", ".refptr"];
let win_allowed_dup_pfx = ["__real@", "__xmm@", "__ymm@", "??_C@_", ".refptr"];
if win_allowed_dup_pfx
.iter()
.any(|pfx| sym.name.starts_with(pfx))