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
8 ; RUN: cp llvm-isel-fuzzer %t.bin--aarch64
9 ; RUN: %t.bin--aarch64 %t.input 2>&1 | FileCheck -check-prefix=AARCH64 %s
10 ; AARCH64: Injected args: -mtriple=aarch64
12 ; RUN: cp llvm-isel-fuzzer %t.bin--aarch64-O1
13 ; RUN: %t.bin--aarch64-O1 %t.input 2>&1 | FileCheck -check-prefix=OPT-AFTER %s
14 ; OPT-AFTER: Injected args: -mtriple=aarch64 -O1
16 ; RUN: cp llvm-isel-fuzzer %t.bin--O3-aarch64
17 ; RUN: %t.bin--O3-aarch64 %t.input 2>&1 | FileCheck -check-prefix=OPT-BEFORE %s
18 ; OPT-BEFORE: Injected args: -O3 -mtriple=aarch64