OLD | NEW |
1 ; Test if we detect multiple module-level symbol tables in bitcode. | 1 ; Test if we detect multiple module-level symbol tables in bitcode. |
2 | 2 |
3 ; REQUIRES: no_minimal_build | 3 ; REQUIRES: no_minimal_build |
4 | 4 |
5 ; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/dup-module-vst.tbc \ | 5 ; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/dup-module-vst.tbc \ |
6 ; RUN: -bitcode-format=pnacl -notranslate -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: Duplicate valuesymtab in module | 9 ; CHECK: Duplicate valuesymtab in module |
10 | 10 |
11 ; RUN: pnacl-bcfuzz -bitcode-as-text %p/Inputs/dup-module-vst.tbc \ | 11 ; RUN: pnacl-bcfuzz -bitcode-as-text %p/Inputs/dup-module-vst.tbc \ |
12 ; RUN: -output - | pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s | 12 ; RUN: -output - | pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s |
13 | 13 |
14 ; ASM: module { // BlockID = 8 | 14 ; ASM: module { // BlockID = 8 |
15 ; ASM: valuesymtab { // BlockID = 14 | 15 ; ASM: valuesymtab { // BlockID = 14 |
16 ; ASM: @f0 : "f"; | 16 ; ASM: @f0 : "f"; |
17 ; ASM: } | 17 ; ASM: } |
18 ; ASM: valuesymtab { // BlockID = 14 | 18 ; ASM: valuesymtab { // BlockID = 14 |
19 ; ASM: @f0 : "f"; | 19 ; ASM: @f0 : "f"; |
20 ; ASM: } | 20 ; ASM: } |
21 ; ASM: } | 21 ; ASM: } |
22 | |
OLD | NEW |