Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: tests_lit/parse_errs/duplicate-fcn-name.test

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests_lit/parse_errs/bad-var-fwdref.test ('k') | tests_lit/reader_tests/alloca.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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: }
OLDNEW
« no previous file with comments | « tests_lit/parse_errs/bad-var-fwdref.test ('k') | tests_lit/reader_tests/alloca.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698