diff options
author | Stephen Hines <srhines@google.com> | 2014-12-01 14:51:49 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-12-02 16:08:10 -0800 |
commit | 37ed9c199ca639565f6ce88105f9e39e898d82d0 (patch) | |
tree | 8fb36d3910e3ee4c4e1b7422f4f017108efc52f5 /test/Other/bcanalyzer-block-info.txt | |
parent | d2327b22152ced7bc46dc629fc908959e8a52d03 (diff) | |
download | external_llvm-37ed9c199ca639565f6ce88105f9e39e898d82d0.zip external_llvm-37ed9c199ca639565f6ce88105f9e39e898d82d0.tar.gz external_llvm-37ed9c199ca639565f6ce88105f9e39e898d82d0.tar.bz2 |
Update aosp/master LLVM for rebase to r222494.
Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
Diffstat (limited to 'test/Other/bcanalyzer-block-info.txt')
-rw-r--r-- | test/Other/bcanalyzer-block-info.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/Other/bcanalyzer-block-info.txt b/test/Other/bcanalyzer-block-info.txt new file mode 100644 index 0000000..e660312 --- /dev/null +++ b/test/Other/bcanalyzer-block-info.txt @@ -0,0 +1,32 @@ +RUN: llvm-bcanalyzer -dump %S/Inputs/has-block-info.bc | FileCheck -check-prefix=CHECK -check-prefix=DATA %s +RUN: llvm-bcanalyzer -dump %S/Inputs/no-block-info.bc | FileCheck -check-prefix=UNKNOWN -check-prefix=DATA %s +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 + + CHECK: <ABC +UNKNOWN: <UnknownBlock8 + DATA: NumWords=4 BlockCodeSize=2> + CHECK: <AAA +UNKNOWN: <UnknownCode0 + DATA: op0=42 op1=43 op2=44/> + CHECK: <BBB +UNKNOWN: <UnknownCode1 + DATA: op0=42/> + CHECK: <AAA +UNKNOWN: <UnknownCode0 + DATA: op0=42/> + CHECK: </ABC> +UNKNOWN: </UnknownBlock8> + CHECK: <XYZ +UNKNOWN: <UnknownBlock9 + DATA: NumWords=3 BlockCodeSize=3> + CHECK: <XXX +UNKNOWN: <UnknownCode0 + DATA: abbrevid=4 op0=50 op1=4/> + CHECK: <YYY +UNKNOWN: <UnknownCode1 + DATA: op0=42/> + CHECK: <XXX +UNKNOWN: <UnknownCode0 + DATA: abbrevid=4 op0=50 op1=5/> + CHECK: </XYZ> +UNKNOWN: </UnknownBlock9> |