blob: 2cab8c747999dbf2433cb53c13bad16485e6de83 [file] [log] [blame]
Justin Bogner754a1a82017-10-12 18:10:22 +00001; 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.
Justin Bogner9c03fd52017-10-13 00:17:54 +00003; REQUIRES: static-libs
Justin Bogner9ea7fbd2017-10-12 04:35:32 +00004; REQUIRES: aarch64-registered-target
5
Xing Xuefe4f6d52019-05-14 13:54:33 +00006; The above also applies if the binary is built with libc++.
7; UNSUPPORTED: libcxx-used
8
Justin Bogner9ea7fbd2017-10-12 04:35:32 +00009; RUN: echo > %t.input
10
Matt Morehouse8bc23ab2017-10-13 00:18:32 +000011; RUN: cp llvm-isel-fuzzer %t.bin--aarch64
12; RUN: %t.bin--aarch64 %t.input 2>&1 | FileCheck -check-prefix=AARCH64 %s
Justin Bogner9ea7fbd2017-10-12 04:35:32 +000013; AARCH64: Injected args: -mtriple=aarch64
14
Matt Morehouse8bc23ab2017-10-13 00:18:32 +000015; 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
Justin Bogner9ea7fbd2017-10-12 04:35:32 +000017; OPT-AFTER: Injected args: -mtriple=aarch64 -O1
18
Matt Morehouse8bc23ab2017-10-13 00:18:32 +000019; 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
Justin Bogner9ea7fbd2017-10-12 04:35:32 +000021; OPT-BEFORE: Injected args: -O3 -mtriple=aarch64