about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-08-09 15:42:48 -0500
committerTrevor Gross <tmgross@umich.edu>2025-08-09 15:47:10 -0500
commit531d5aa593592b16f379f9d6af5d9ae666a163b3 (patch)
treefed064c23480911569d639c97d04555532b4d496
parentbf8487827d3eb2214fba7ce540027b5f590a7274 (diff)
downloadrust-531d5aa593592b16f379f9d6af5d9ae666a163b3.tar.gz
rust-531d5aa593592b16f379f9d6af5d9ae666a163b3.zip
symcheck: Skip `__ymm@` symbols on Windows
Like `__real@`, and `__xmm@`, Windows can emit duplicate `__ymm@`
symbols for constants.
-rw-r--r--library/compiler-builtins/crates/symbol-check/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/compiler-builtins/crates/symbol-check/src/main.rs b/library/compiler-builtins/crates/symbol-check/src/main.rs
index 129c959f23a..4e94552331a 100644
--- a/library/compiler-builtins/crates/symbol-check/src/main.rs
+++ b/library/compiler-builtins/crates/symbol-check/src/main.rs
@@ -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))