about summary refs log tree commit diff
path: root/tests/ui/sanitizer/new-llvm-pass-manager-thin-lto.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/sanitizer/new-llvm-pass-manager-thin-lto.rs')
-rw-r--r--tests/ui/sanitizer/new-llvm-pass-manager-thin-lto.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/sanitizer/new-llvm-pass-manager-thin-lto.rs b/tests/ui/sanitizer/new-llvm-pass-manager-thin-lto.rs
index c1a2c2f26ac..b6656847427 100644
--- a/tests/ui/sanitizer/new-llvm-pass-manager-thin-lto.rs
+++ b/tests/ui/sanitizer/new-llvm-pass-manager-thin-lto.rs
@@ -6,6 +6,8 @@
 //@ needs-sanitizer-address
 //@ ignore-cross-compile
 //
+//@ compile-flags: -C unsafe-allow-abi-mismatch=sanitizer
+//
 //@ no-prefer-dynamic
 //@ revisions: opt0 opt1
 //@ compile-flags: -Zsanitizer=address -Clto=thin