File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 2929// CHECK-MIPS64-CPU: "-target-cpu" "mips3"
3030// CHECK-MIPS64EL-CPU: "-target-cpu" "mips3"
3131
32- // Check that LoongArch passes the correct linker emulation.
33- //
34- // RUN: %clang --target=loongarch64-unknown-openbsd -### %s %s 2>&1 \
35- // RUN: | FileCheck --check-prefix=CHECK-LA64-LD %s
36- // CHECK-LA64-LD: ld{{.*}}" {{.*}} "-m" "elf64loongarch"
37- //
38- // Check options passed to the linker on LoongArch
39- //
40- // RUN: %clang --target=loongarch64-unknown-openbsd -mno-relax -### %s %s 2>&1 \
41- // RUN: | FileCheck --check-prefix=CHECK-LA64-LD-OPTS %s
42- // CHECK-LA64-LD-OPTS: ld{{.*}}" {{.*}} "-X" "--no-relax"
43- //
44-
4532// Check that the new linker flags are passed to OpenBSD
4633// RUN: %clang --target=i686-pc-openbsd -r -### %s 2>&1 \
4734// RUN: | FileCheck --check-prefix=CHECK-LD-R %s
140127// UNWIND-TABLES: "-funwind-tables=2"
141128// NO-UNWIND-TABLES-NOT: "-funwind-tables=2"
142129
143- // Check that the -X and --no-relax flags are passed to the linker on riscv64
130+ // Check that the -X and --no-relax flags are passed to the linker
131+ // RUN: %clang --target=loongarch64-unknown-openbsd -mno-relax -### %s 2>&1 \
132+ // RUN: | FileCheck --check-prefix=LA64-FLAGS %s
144133// RUN: %clang --target=riscv64-unknown-openbsd -mno-relax -### %s 2>&1 \
145134// RUN: | FileCheck -check-prefix=RISCV64-FLAGS %s
135+ // LA64-FLAGS: "-X" "--no-relax"
146136// RISCV64-FLAGS: "-X" "--no-relax"
147137
148138// Check passing LTO flags to the linker
You can’t perform that action at this time.
0 commit comments