File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11// Test sanitizers ld flags.
22
3- // DEFINE: %{filecheck} = FileCheck %s --implicit-check-not=\ "/libclang_rt\ "
3+ // DEFINE: %{filecheck} = FileCheck %s --implicit-check-not="/libclang_rt"
44
55// RUN: %clang -### %s 2>&1 \
66// RUN: --target=i386-unknown-linux -fuse-ld=ld -fsanitize=address \
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 \
You can’t perform that action at this time.
0 commit comments