brintos

brintos / llvm-project-archived public Read only

0
0
Text · 973 B · a4a8f97 Raw
27 lines · plain
1; If the binary looks up libraries using an rpath, we can't test this2; without copying the whole lib dir or polluting the build dir.3; REQUIRES: static-libs4; REQUIRES: aarch64-registered-target5 6; The above also applies if the binary is built with libc++.7; UNSUPPORTED: libcxx-used8 9; RUN: echo > %t.input10 11; workaround for https://openradar.appspot.com/FB891424312; RUN: rm -f %t.bin--aarch6413; RUN: rm -f %t.bin--aarch64-O114; RUN: rm -f %t.bin--O3-aarch6415 16; RUN: cp llvm-isel-fuzzer %t.bin--aarch6417; RUN: %t.bin--aarch64 %t.input 2>&1 | FileCheck -check-prefix=AARCH64 %s18; AARCH64: Injected args: -mtriple=aarch6419 20; RUN: cp llvm-isel-fuzzer %t.bin--aarch64-O121; RUN: %t.bin--aarch64-O1 %t.input 2>&1 | FileCheck -check-prefix=OPT-AFTER %s22; OPT-AFTER: Injected args: -mtriple=aarch64 -O123 24; RUN: cp llvm-isel-fuzzer %t.bin--O3-aarch6425; RUN: %t.bin--O3-aarch64 %t.input 2>&1 | FileCheck -check-prefix=OPT-BEFORE %s26; OPT-BEFORE: Injected args: -O3 -mtriple=aarch6427