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 1717! GNU-LINKER-OPTIONS-SAME: "-static"
1818! GNU-LINKER-OPTIONS-SAME: "-rpath" "/path/to/dir"
1919
20- ! RDYNAMIC-LINKER-OPTION: "{{.*}}ld"
20+ ! RDYNAMIC-LINKER-OPTION: "{{.*}}ld{{(\.lld)?(\.exe)?}} "
2121! RDYNAMIC-LINKER-OPTION-SAME: "-export-dynamic"
2222
2323! For MSVC, adding -static does not add any additional linker options.
Original file line number Diff line number Diff line change 88! RUN: %flang -### --target=aarch64-linux-gnu -isysroot /path/to/sysroot \
99! RUN: %s 2>&1 | FileCheck %s --check-prefix=CHECK-LINUX
1010
11- ! CHECK-DARWIN: "{{.*}}ld{{(64)?(\.lld)?}}" {{.*}}"-syslibroot" "/path/to/sysroot"
11+ ! CHECK-DARWIN: "{{.*}}ld{{(64)?(\.lld)?(\.exe)? }}" {{.*}}"-syslibroot" "/path/to/sysroot"
1212! Unused on Linux.
1313! CHECK-LINUX: warning: argument unused during compilation: '-isysroot /path/to/sysroot'
1414! CHECK-LINUX-NOT: /path/to/sysroot
You can’t perform that action at this time.
0 commit comments