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 \ | 5 ; RUN: not %pnacl_sz -bitcode-as-text -allow-externally-defined-symbols \ |
6 ; RUN: %p/Inputs/fcn-value-index-isnt-defined.tbc \ | 6 ; RUN: %p/Inputs/fcn-value-index-isnt-defined.tbc \ |
7 ; RUN: -bitcode-format=pnacl -notranslate -build-on-read 2>&1 \ | 7 ; RUN: -bitcode-format=pnacl -notranslate -build-on-read 2>&1 \ |
8 ; RUN: | FileCheck %s | 8 ; RUN: | FileCheck %s |
9 | 9 |
10 ; CHECK: Value index {{.*}} not defined! | 10 ; CHECK: Value index {{.*}} not defined! |
11 | 11 |
12 ; RUN: pnacl-bcfuzz -bitcode-as-text \ | 12 ; RUN: pnacl-bcfuzz -bitcode-as-text \ |
13 ; RUN: %p/Inputs/fcn-value-index-isnt-defined.tbc -output - \ | 13 ; RUN: %p/Inputs/fcn-value-index-isnt-defined.tbc -output - \ |
14 ; RUN: | not pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s | 14 ; RUN: | not pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s |
15 | 15 |
(...skipping 19 matching lines...) Expand all Loading... |
35 ; ASM: i32: | 35 ; ASM: i32: |
36 ; ASM: %c0 = i32 1; | 36 ; ASM: %c0 = i32 1; |
37 ; ASM: } | 37 ; ASM: } |
38 ; ASM: %b0: | 38 ; ASM: %b0: |
39 ; ASM: %v0 = alloca i8, i32 %c0, align 4; | 39 ; ASM: %v0 = alloca i8, i32 %c0, align 4; |
40 ; ASM: ret void %v1; | 40 ; ASM: ret void %v1; |
41 ; ASM: Error({{.*}}): Can't find type for %v1 | 41 ; ASM: Error({{.*}}): Can't find type for %v1 |
42 ; ASM: } | 42 ; ASM: } |
43 ; ASM: } | 43 ; ASM: } |
44 | 44 |
OLD | NEW |