[llvm-readelf/llvm-objdump] - Improve/refactor the implementation of SHT_LLVM_ADDRSIG...
[llvm-complete.git] / test / Other / bcanalyzer-block-info.txt
blobe66031211b728de1f1c8762e56eef2e590e13114
1 RUN: llvm-bcanalyzer -dump %S/Inputs/has-block-info.bc | FileCheck -check-prefix=CHECK -check-prefix=DATA %s
2 RUN: llvm-bcanalyzer -dump %S/Inputs/no-block-info.bc | FileCheck -check-prefix=UNKNOWN -check-prefix=DATA %s
3 RUN: llvm-bcanalyzer -dump %S/Inputs/no-block-info.bc -block-info %S/Inputs/block-info-only.bc | FileCheck -check-prefix=CHECK -check-prefix=DATA %s
5   CHECK: <ABC
6 UNKNOWN: <UnknownBlock8
7    DATA:   NumWords=4 BlockCodeSize=2>
8   CHECK:   <AAA 
9 UNKNOWN:   <UnknownCode0
10    DATA:     op0=42 op1=43 op2=44/>
11   CHECK:   <BBB
12 UNKNOWN:   <UnknownCode1
13    DATA:     op0=42/>
14   CHECK:   <AAA
15 UNKNOWN:   <UnknownCode0
16    DATA:     op0=42/>
17   CHECK: </ABC>
18 UNKNOWN: </UnknownBlock8>
19   CHECK: <XYZ
20 UNKNOWN: <UnknownBlock9
21    DATA:   NumWords=3 BlockCodeSize=3>
22   CHECK:   <XXX
23 UNKNOWN:   <UnknownCode0
24    DATA:     abbrevid=4 op0=50 op1=4/>
25   CHECK:   <YYY
26 UNKNOWN:   <UnknownCode1
27    DATA:     op0=42/>
28   CHECK:   <XXX
29 UNKNOWN:   <UnknownCode0
30    DATA:     abbrevid=4 op0=50 op1=5/>
31   CHECK: </XYZ>
32 UNKNOWN: </UnknownBlock9>