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
6 UNKNOWN: <UnknownBlock8
7 DATA: NumWords=4 BlockCodeSize=2>
10 DATA: op0=42 op1=43 op2=44/>
12 UNKNOWN: <UnknownCode1
15 UNKNOWN: <UnknownCode0
18 UNKNOWN: </UnknownBlock8>
20 UNKNOWN: <UnknownBlock9
21 DATA: NumWords=3 BlockCodeSize=3>
23 UNKNOWN: <UnknownCode0
24 DATA: abbrevid=4 op0=50 op1=4/>
26 UNKNOWN: <UnknownCode1
29 UNKNOWN: <UnknownCode0
30 DATA: abbrevid=4 op0=50 op1=5/>
32 UNKNOWN: </UnknownBlock9>