File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
! GNU-LINKER-OPTIONS-SAME: "-static"
18
18
! GNU-LINKER-OPTIONS-SAME: "-rpath" "/path/to/dir"
19
19
20
- ! RDYNAMIC-LINKER-OPTION: "{{.*}}ld"
20
+ ! RDYNAMIC-LINKER-OPTION: "{{.*}}ld{{(\.lld)?(\.exe)?}} "
21
21
! RDYNAMIC-LINKER-OPTION-SAME: "-export-dynamic"
22
22
23
23
! For MSVC, adding -static does not add any additional linker options.
Original file line number Diff line number Diff line change 8
8
! RUN: %flang -### --target=aarch64-linux-gnu -isysroot /path/to/sysroot \
9
9
! RUN: %s 2>&1 | FileCheck %s --check-prefix=CHECK-LINUX
10
10
11
- ! CHECK-DARWIN: "{{.*}}ld{{(64)?(\.lld)?}}" {{.*}}"-syslibroot" "/path/to/sysroot"
11
+ ! CHECK-DARWIN: "{{.*}}ld{{(64)?(\.lld)?(\.exe)? }}" {{.*}}"-syslibroot" "/path/to/sysroot"
12
12
! Unused on Linux.
13
13
! CHECK-LINUX: warning: argument unused during compilation: '-isysroot /path/to/sysroot'
14
14
! CHECK-LINUX-NOT: /path/to/sysroot
You can’t perform that action at this time.
0 commit comments