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

Side by Side Diff: test/NaCl/PNaClABI/linkagetypes.ll

Issue 132693004: PNaCl: Add "not" to various test commands, to pass under LLVM 3.4 (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 6 years, 11 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/intrinsics.ll ('k') | test/NaCl/PNaClABI/module-asm.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 ; RUN: pnacl-abicheck < %s | FileCheck %s 1 ; RUN: not pnacl-abicheck < %s | FileCheck %s
2 ; Test linkage types allowed by PNaCl ABI 2 ; Test linkage types allowed by PNaCl ABI
3 3
4 target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64 :64:64-p:32:32:32-v128:32:32" 4 target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64 :64:64-p:32:32:32-v128:32:32"
5 target triple = "le32-unknown-nacl" 5 target triple = "le32-unknown-nacl"
6 6
7 7
8 @gv_internal = internal global [1 x i8] c"x" 8 @gv_internal = internal global [1 x i8] c"x"
9 ; CHECK-NOT: disallowed 9 ; CHECK-NOT: disallowed
10 10
11 @gv_private = private global [1 x i8] c"x" 11 @gv_private = private global [1 x i8] c"x"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ret void 73 ret void
74 } 74 }
75 ; CHECK-NEXT: Function extern_weak_func is declared but not defined (disallowed) 75 ; CHECK-NEXT: Function extern_weak_func is declared but not defined (disallowed)
76 ; CHECK-NEXT: Function extern_weak_func has disallowed linkage type: extern_weak 76 ; CHECK-NEXT: Function extern_weak_func has disallowed linkage type: extern_weak
77 declare extern_weak void @extern_weak_func() 77 declare extern_weak void @extern_weak_func()
78 78
79 ; CHECK-NEXT: Function avail_ext_func has disallowed linkage type: available_ext ernally 79 ; CHECK-NEXT: Function avail_ext_func has disallowed linkage type: available_ext ernally
80 define available_externally void @avail_ext_func() { 80 define available_externally void @avail_ext_func() {
81 ret void 81 ret void
82 } 82 }
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/intrinsics.ll ('k') | test/NaCl/PNaClABI/module-asm.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698