OLD | NEW |
1 ; Test if we detect duplicate names in a symbol table. | 1 ; Test if we detect duplicate names in a symbol table. |
2 | 2 |
3 ; REQUIRES: no_minimal_build | 3 ; REQUIRES: no_minimal_build |
4 | 4 |
5 ; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/duplicate-fcn-name.tbc \ | 5 ; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/duplicate-fcn-name.tbc \ |
6 ; RUN: -bitcode-format=pnacl -notranslate -no-ir-gen -build-on-read 2>&1 \ | 6 ; RUN: -bitcode-format=pnacl -notranslate -build-on-read 2>&1 \ |
7 ; RUN: | FileCheck %s | 7 ; RUN: | FileCheck %s |
8 | 8 |
9 ; CHECK: Module valuesymtab defines duplicate value name: 'f' | 9 ; CHECK: Module valuesymtab defines duplicate value name: 'f' |
10 | 10 |
11 ; RUN: pnacl-bcfuzz -bitcode-as-text %p/Inputs/duplicate-fcn-name.tbc -output -
\ | 11 ; RUN: pnacl-bcfuzz -bitcode-as-text %p/Inputs/duplicate-fcn-name.tbc -output -
\ |
12 ; RUN: | pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s | 12 ; RUN: | pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s |
13 | 13 |
14 ; ASM: module { // BlockID = 8 | 14 ; ASM: module { // BlockID = 8 |
15 ; ASM: version 1; | 15 ; ASM: version 1; |
16 ; ASM: types { // BlockID = 17 | 16 ; ASM: types { // BlockID = 17 |
(...skipping 14 matching lines...) Expand all Loading... |
31 ; ASM: blocks 1; | 31 ; ASM: blocks 1; |
32 ; ASM: %b0: | 32 ; ASM: %b0: |
33 ; ASM: ret void; | 33 ; ASM: ret void; |
34 ; ASM: } | 34 ; ASM: } |
35 ; ASM: function void @f1() { // BlockID = 12 | 35 ; ASM: function void @f1() { // BlockID = 12 |
36 ; ASM: blocks 1; | 36 ; ASM: blocks 1; |
37 ; ASM: %b0: | 37 ; ASM: %b0: |
38 ; ASM: ret void; | 38 ; ASM: ret void; |
39 ; ASM: } | 39 ; ASM: } |
40 ; ASM: } | 40 ; ASM: } |
OLD | NEW |