OLD | NEW |
(Empty) | |
| 1 ; RUN: llvm-as < %s | pnacl-freeze | pnacl-bcanalyzer -dump-records \ |
| 2 ; RUN: | FileCheck %s -check-prefix=BC |
| 3 ; RUN: llvm-as < %s | pnacl-freeze \ |
| 4 ; RUN: | pnacl-bcanalyzer -dump-records -operands-per-line=2 \ |
| 5 ; RUN: | FileCheck %s -check-prefix=BC2 |
| 6 ; RUN: llvm-as < %s | pnacl-freeze \ |
| 7 ; RUN: | pnacl-bcanalyzer -dump-records -operands-per-line=8 \ |
| 8 ; RUN: | FileCheck %s -check-prefix=BC8 |
| 9 |
| 10 ; Test that the command-line option -operands-per-line works as expected. |
| 11 |
| 12 @bytes = internal global [10 x i8] c"abcdefghij" |
| 13 |
| 14 ; BC: <DATA op0=97 op1=98 op2=99 op3=100 op4=101 op5=102 op6=103 op7=104 op8=105
op9=106/> |
| 15 |
| 16 ; BC2: <DATA op0=97 op1=98 |
| 17 ; BC2: op2=99 op3=100 |
| 18 ; BC2: op4=101 op5=102 |
| 19 ; BC2: op6=103 op7=104 |
| 20 ; BC2: op8=105 op9=106/> |
| 21 |
| 22 ; BC8: <DATA op0=97 op1=98 op2=99 op3=100 op4=101 op5=102 op6=103 op7=104 |
| 23 ; BC8: op8=105 op9=106/> |
OLD | NEW |