[llvm] [ASan][Windows] Fixing Windows shadow memory address for arm64 (PR #184902)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 6 11:07:30 PST 2026


================
@@ -1,6 +1,7 @@
 ; Test basic address sanitizer instrumentation.
 ;
 ; RUN: opt -passes=asan -S  < %s | FileCheck %s
+; RUN: opt -passes=asan -mtriple=aarch64-pc-windows-msvc -S < %s | FileCheck %s
 
 target triple = "x86_64-pc-windows-msvc"
----------------
thurstond wrote:

It would be slightly cleaner to remove this and pass it as an `-mtriple` to the first RUN: (as you did in your original test).

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


More information about the llvm-commits mailing list