File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 13
13
// ASAN: link.exe
14
14
// ASAN: "-debug"
15
15
// ASAN: "-incremental:no"
16
- // ASAN: "{{[^"]*}}clang_rt.asan_dynamic.lib"
17
- // ASAN: "-wholearchive:{{.*}}clang_rt.asan_static_runtime_thunk.lib"
16
+ // ASAN: "{{[^"]*}}clang_rt.asan_dynamic{{(-i386)?}} .lib"
17
+ // ASAN: "-wholearchive:{{.*}}clang_rt.asan_static_runtime_thunk{{(-i386)?}} .lib"
18
18
// ASAN: "{{.*}}cl-link{{.*}}.obj"
19
19
20
20
// RUN: %clang_cl -m32 -arch:IA32 --target=i386-pc-win32 /MD /Tc%s -fuse-ld=link -### -fsanitize=address 2>&1 | FileCheck --check-prefix=ASAN-MD %s
21
21
// ASAN-MD: link.exe
22
22
// ASAN-MD: "-debug"
23
23
// ASAN-MD: "-incremental:no"
24
- // ASAN-MD: "{{.*}}clang_rt.asan_dynamic.lib"
24
+ // ASAN-MD: "{{.*}}clang_rt.asan_dynamic{{(-i386)?}} .lib"
25
25
// ASAN-MD: "-include:___asan_seh_interceptor"
26
- // ASAN-MD: "-wholearchive:{{.*}}clang_rt.asan_dynamic_runtime_thunk.lib"
26
+ // ASAN-MD: "-wholearchive:{{.*}}clang_rt.asan_dynamic_runtime_thunk{{(-i386)?}} .lib"
27
27
// ASAN-MD: "{{.*}}cl-link{{.*}}.obj"
28
28
29
29
// RUN: %clang_cl /LD -fuse-ld=link -### /Tc%s 2>&1 | FileCheck --check-prefix=DLL %s
37
37
// ASAN-DLL: "-dll"
38
38
// ASAN-DLL: "-debug"
39
39
// ASAN-DLL: "-incremental:no"
40
- // ASAN-DLL: "{{.*}}clang_rt.asan_dynamic.lib"
41
- // ASAN-DLL: "-wholearchive:{{.*}}clang_rt.asan_static_runtime_thunk.lib"
40
+ // ASAN-DLL: "{{.*}}clang_rt.asan_dynamic{{(-i386)?}} .lib"
41
+ // ASAN-DLL: "-wholearchive:{{.*}}clang_rt.asan_static_runtime_thunk{{(-i386)?}} .lib"
42
42
// ASAN-DLL: "{{.*}}cl-link{{.*}}.obj"
43
43
44
44
// RUN: %clang_cl /Zi /Tc%s -fuse-ld=link -### 2>&1 | FileCheck --check-prefix=DEBUG %s
Original file line number Diff line number Diff line change 64
64
// RUN: | FileCheck %s --check-prefix CHECK-SANITIZE-ADDRESS-EXE-X86
65
65
66
66
// CHECK-SANITIZE-ADDRESS-EXE-X86: "-fsanitize=address"
67
- // CHECK-SANITIZE-ADDRESS-EXE-X86: "{{.*}}clang_rt.asan_dynamic.lib" "{{.*}}clang_rt.asan_dynamic_runtime_thunk.lib" "--undefined" "___asan_seh_interceptor"
67
+ // CHECK-SANITIZE-ADDRESS-EXE-X86: "{{.*}}clang_rt.asan_dynamic{{(-i386)?}} .lib" "{{.*}}clang_rt.asan_dynamic_runtime_thunk{{(-i386)?}} .lib" "--undefined" "___asan_seh_interceptor"
68
68
69
69
// RUN: not %clang -### --target=armv7-windows-itanium --sysroot %S/Inputs/Windows/ARM/8.1 -B %S/Inputs/Windows/ARM/8.1/usr/bin -fuse-ld=lld-link2 -shared -o shared.dll -fsanitize=tsan -x c++ %s 2>&1 \
70
70
// RUN: | FileCheck %s --check-prefix CHECK-SANITIZE-TSAN
You can’t perform that action at this time.
0 commit comments