1 ; If the binary looks up libraries using an rpath, we can't test this
2 ; without copying the whole lib dir or polluting the build dir.
3 ; REQUIRES: static-libs
4 ; REQUIRES: aarch64-registered-target
6 ; The above also applies if the binary is built with libc++.
7 ; UNSUPPORTED: libcxx-used
11 ; RUN: cp llvm-isel-fuzzer %t.bin--aarch64
12 ; RUN: %t.bin--aarch64 %t.input 2>&1 | FileCheck -check-prefix=AARCH64 %s
13 ; AARCH64: Injected args: -mtriple=aarch64
15 ; RUN: cp llvm-isel-fuzzer %t.bin--aarch64-O1
16 ; RUN: %t.bin--aarch64-O1 %t.input 2>&1 | FileCheck -check-prefix=OPT-AFTER %s
17 ; OPT-AFTER: Injected args: -mtriple=aarch64 -O1
19 ; RUN: cp llvm-isel-fuzzer %t.bin--O3-aarch64
20 ; RUN: %t.bin--O3-aarch64 %t.input 2>&1 | FileCheck -check-prefix=OPT-BEFORE %s
21 ; OPT-BEFORE: Injected args: -O3 -mtriple=aarch64