From 523bd437772677cb17320525ff690096e8052e44 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sat, 18 Oct 2025 09:29:21 +0200 Subject: [PATCH 1/2] tests/ui/sanitizer/hwaddress.rs: Run on aarch64 and remove cgu hack The upstream LLVM bug has been fixed: TODO --- tests/ui/sanitizer/hwaddress.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/ui/sanitizer/hwaddress.rs b/tests/ui/sanitizer/hwaddress.rs index 05fcab17506b9..7557b0f53f7c8 100644 --- a/tests/ui/sanitizer/hwaddress.rs +++ b/tests/ui/sanitizer/hwaddress.rs @@ -1,11 +1,7 @@ //@ needs-sanitizer-support //@ needs-sanitizer-hwaddress // -// FIXME(#83706): this test triggers errors on aarch64-gnu -//@ ignore-aarch64-unknown-linux-gnu -// -// FIXME(#83989): codegen-units=1 triggers linker errors on aarch64-gnu -//@ compile-flags: -Z sanitizer=hwaddress -O -g -C codegen-units=16 -C unsafe-allow-abi-mismatch=sanitizer +//@ compile-flags: -Z sanitizer=hwaddress -O -g -C unsafe-allow-abi-mismatch=sanitizer // //@ run-fail //@ error-pattern: HWAddressSanitizer: tag-mismatch From 0c4620828a5e95a33656ff6cd6774f2a4dac40de Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Thu, 23 Oct 2025 06:59:08 +0200 Subject: [PATCH 2/2] TEMP LLVM PATCH: hwasan: Fix relocation errors by adjusting NewGV alias address calculation --- .gitmodules | 4 ++-- src/llvm-project | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index 8617643a12029..a31f94b81f8ea 100644 --- a/.gitmodules +++ b/.gitmodules @@ -24,8 +24,8 @@ shallow = true [submodule "src/llvm-project"] path = src/llvm-project - url = https://github.com/rust-lang/llvm-project.git - branch = rustc/21.1-2025-08-01 + url = https://github.com/Enselic/llvm-project.git + branch = rustc/21.1-2025-08-01_plus-hwasan-link-fix shallow = true [submodule "src/doc/embedded-book"] path = src/doc/embedded-book diff --git a/src/llvm-project b/src/llvm-project index 4f74b76fb6968..7953fa5be5d6d 160000 --- a/src/llvm-project +++ b/src/llvm-project @@ -1 +1 @@ -Subproject commit 4f74b76fb69688474e073fb26b316d9ea571388f +Subproject commit 7953fa5be5d6d33b0a7c648d32095f3000b714c9