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

Side by Side Diff: tests_lit/parse_errs/symtab-after-fcn.test

Issue 1359923002: Require that the module symbol table can't appear after function. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 3 months 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
OLDNEW
(Empty)
1 ; Test if we detect if the value symbol table appears after a function block.
2
3 ; REQUIRES: no_minimal_build
4
5 ; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/symtab-after-fcn.tbc \
6 ; RUN: -bitcode-format=pnacl -notranslate -build-on-read 2>&1 \
7 ; RUN: | FileCheck %s
8
9 ; CHECK: Module valuesymtab not allowed after function blocks
10
11 ; RUN: pnacl-bcfuzz -bitcode-as-text %p/Inputs/symtab-after-fcn.tbc \
12 ; RUN: -output - | pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s
13
14 ; ASM: module { // BlockID = 8
15 ; ASM: function void @f0() { // BlockID = 12
16 ; ASM: }
17 ; ASM: valuesymtab { // BlockID = 14
18 ; ASM: }
19 ; ASM: }
OLDNEW
« src/PNaClTranslator.cpp ('K') | « tests_lit/parse_errs/Inputs/symtab-after-fcn.tbc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698