Skip to content

Commit 507c3a8

Browse files
committed
fix CHECK-ASAN-NO-LINK-RUNTIME-DARWIN
Created using spr 1.3.4
1 parent 21c0b86 commit 507c3a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/Driver/sanitizer-ld.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
//
2929
// CHECK-ASAN-NO-LINK-RUNTIME-LINUX: "{{(.*[^-.0-9A-Z_a-z])?}}ld"
3030

31-
// RUN: %clang -fsanitize=address -fsanitize-link-runtime -### %s 2>&1 \
31+
// RUN: %clang -fsanitize=address -fno-sanitize-link-runtime -### %s 2>&1 \
3232
// RUN: --target=arm64e-apple-macosx -fuse-ld=ld \
3333
// RUN: -resource-dir=%S/Inputs/resource_dir \
3434
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
3535
// RUN: | %{filecheck} --check-prefix=CHECK-ASAN-NO-LINK-RUNTIME-DARWIN
3636
//
37-
// CHECK-ASAN-NO-LINK-RUNTIME-DARWIN: /libclang_rt.asan_osx_dynamic.dylib
38-
// CHECK-ASAN-NO-LINK-RUNTIME-DARWIN: /libclang_rt.osx.a
37+
// CHECK-ASAN-NO-LINK-RUNTIME-DARWIN: "{{.*}}ld"
38+
// CHECK-ASAN-NO-LINK-RUNTIME-DARWIN: /libclang_rt.osx.a"
3939

4040
// RUN: %clang -fsanitize=address -### %s 2>&1 \
4141
// RUN: --target=x86_64-unknown-linux -fuse-ld=ld \

0 commit comments

Comments
 (0)