Lines Matching refs:readelf
23 # Run readelf flag tests with an additional flag, --file-header, so we can test
25 # RUN: llvm-readelf --file-header --string-dump=.strings \
26 # RUN: --string-dump=.not_null_terminated %t > %t.readelf.out
27 # RUN: FileCheck %s --input-file=%t.readelf.out
29 # RUN: llvm-readelf -h -p=.strings -p=.not_null_terminated %t > %t.readelf.1
30 # RUN: llvm-readelf -p.strings -hp.not_null_terminated %t > %t.readelf.2
31 # RUN: llvm-readelf -h --string-dump=1 --string-dump=2 %t > %t.readelf.3
32 # RUN: llvm-readelf -hp1 -p2 %t > %t.readelf.4
33 # RUN: llvm-readelf -hp 1 -p.not_null_terminated %t > %t.readelf.5
34 # RUN: llvm-readelf -p=1 -hp=2 %t > %t.readelf.6
36 # RUN: cmp %t.readelf.out %t.readelf.1
37 # RUN: cmp %t.readelf.out %t.readelf.2
38 # RUN: cmp %t.readelf.out %t.readelf.3
39 # RUN: cmp %t.readelf.out %t.readelf.4
40 # RUN: cmp %t.readelf.out %t.readelf.5
41 # RUN: cmp %t.readelf.out %t.readelf.6
57 # RUN: llvm-readelf --string-dump=does_not_exist %t 2>&1 | FileCheck -DFILE=%t %s --check-prefix=WA…
58 # RUN: llvm-readelf --string-dump=42 %t 2>&1 | FileCheck %s -DFILE=%t --check-prefix=WARN2