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

Side by Side Diff: tests_lit/parse_errs/indirect-call-on-float.test

Issue 1387963002: Make sure that all globals are internal, except for "start" functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix new tests. Created 5 years, 2 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
1 ; Tests that we check the call address is a pointer on an indirect call. 1 ; Tests that we check the call address is a pointer on an indirect call.
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/indirect-call-on-float.tbc \ 6 ; RUN: %p/Inputs/indirect-call-on-float.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: Call indirect address not i32. Found: float 10 ; CHECK: Call indirect address not i32. Found: float
11 11
12 ; RUN: pnacl-bcfuzz -bitcode-as-text \ 12 ; RUN: pnacl-bcfuzz -bitcode-as-text \
13 ; RUN: %p/Inputs/indirect-call-on-float.tbc -output - \ 13 ; RUN: %p/Inputs/indirect-call-on-float.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
16 ; ASM: function void @f1(i32 %p0, float %p1) { // BlockID = 12 16 ; ASM: function void @f1(i32 %p0, float %p1) { // BlockID = 12
17 ; ASM: blocks 1; 17 ; ASM: blocks 1;
18 ; ASM: %b0: 18 ; ASM: %b0:
19 ; ASM: call void %p1(); 19 ; ASM: call void %p1();
20 ; ASM: ret void; 20 ; ASM: ret void;
21 ; ASM: } 21 ; ASM: }
OLDNEW
« no previous file with comments | « tests_lit/parse_errs/fcn-value-index-isnt-defined.test ('k') | tests_lit/parse_errs/insertelt-wrong-type.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698