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

Side by Side Diff: test/NaCl/PNaClABI/abi-call-attributes.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 9 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
« no previous file with comments | « test/NaCl/PNaClABI/abi-blockaddress.ll ('k') | test/NaCl/PNaClABI/abi-debug-info.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; RUN: not pnacl-abicheck < %s | FileCheck %s
2
3 define void @func(i32 %arg) {
4 ret void
5 }
6
7 define void @calls() {
8 call void @func(i32 1) noreturn nounwind
9 ; CHECK: disallowed: bad call attributes: call void @func(i32 1) #
10
11 call void @func(i32 inreg 1)
12 ; CHECK-NEXT: disallowed: bad call attributes: call void @func(i32 inreg 1)
13
14 call fastcc void @func(i32 1)
15 ; CHECK-NEXT: disallowed: bad calling convention: call fastcc void @func(i32 1)
16
17 ret void
18 }
19
20 ; CHECK-NOT: disallowed
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/abi-blockaddress.ll ('k') | test/NaCl/PNaClABI/abi-debug-info.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698