Skip to content

Commit 99b7c77

Browse files
kkwliluporl
andauthored
[flang] Allow different linker name (#77849)
The linker name is different if the `lld` project is enabled `-DLLVM_ENABLE_PROJECTS="...;lld"`. --------- Co-authored-by: Leandro Lupori <leandro.lupori@gmail.com>
1 parent 8566cd6 commit 99b7c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Driver/isysroot.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
! RUN: %flang -### --target=aarch64-linux-gnu -isysroot /path/to/sysroot \
77
! RUN: %s 2>&1 | FileCheck %s --check-prefix=CHECK-LINUX
88

9-
! CHECK-DARWIN: "{{.*[\/]}}ld" {{.*}}"-syslibroot" "/path/to/sysroot"
9+
! CHECK-DARWIN: "{{.*}}ld{{(64)?(\.lld)?}}" {{.*}}"-syslibroot" "/path/to/sysroot"
1010
! Unused on Linux.
1111
! CHECK-LINUX: warning: argument unused during compilation: '-isysroot /path/to/sysroot'
1212
! CHECK-LINUX-NOT: /path/to/sysroot

0 commit comments

Comments
 (0)