brintos

brintos / llvm-project-archived public Read only

0
0
Text · 459 B · 4039859 Raw
10 lines · plain
1! Check linker flags for AArch64 linux, since it needs both libgcc and2! compiler-rt, with compiler-rt second when -rtlib=libgcc.3 4! RUN: %flang -### -rtlib=libgcc --target=aarch64-linux-gnu %S/Inputs/hello.f90 2>&1 | FileCheck %s5 6! CHECK-LABEL:  "{{.*}}ld{{(\.exe)?}}"7! CHECK-SAME: "-lflang_rt.runtime" "-lm"8! CHECK-SAME: "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed"9! CHECK-SAME: "--as-needed" "{{.*}}{{\\|/}}libclang_rt.builtins.a" "--no-as-needed"10