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

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

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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/Localmods/lit.local.cfg ('k') | test/NaCl/PNaClABI/abi-aliases.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 ; This test checks that the "addrspace" pointer attribute is rejected
4 ; by the PNaCl ABI verifier. The only allowed address space value is
5 ; 0 (the default).
6
7 @var = addrspace(1) global [4 x i8] c"xxxx"
8 ; CHECK: Variable var has addrspace attribute (disallowed)
9
10 define void @func() {
11 inttoptr i32 0 to i32 addrspace(2)*
12 ; CHECK: disallowed: bad result type: {{.*}} inttoptr {{.*}} addrspace
13 ret void
14 }
15
16 ; CHECK-NOT: disallowed
OLDNEW
« no previous file with comments | « test/NaCl/Localmods/lit.local.cfg ('k') | test/NaCl/PNaClABI/abi-aliases.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698