Skip to content

Commit c944376

Browse files
committed
symcheck: Skip __ymm@ symbols on Windows
Like `__real@`, and `__xmm@`, Windows can emit duplicate `__ymm@` symbols for constants.
1 parent dbe26bd commit c944376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/symbol-check/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn verify_no_duplicates(archive: &Archive) {
222222

223223
// Windows has symbols for literal numeric constants, string literals, and MinGW pseudo-
224224
// relocations. These are allowed to have repeated definitions.
225-
let win_allowed_dup_pfx = ["__real@", "__xmm@", "??_C@_", ".refptr"];
225+
let win_allowed_dup_pfx = ["__real@", "__xmm@", "__ymm@", "??_C@_", ".refptr"];
226226
if win_allowed_dup_pfx
227227
.iter()
228228
.any(|pfx| sym.name.starts_with(pfx))

0 commit comments

Comments
 (0)