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

Side by Side Diff: test/NaCl/PNaClABI/abi-flattened-globals.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/abi-externals-whitelist.ll ('k') | test/NaCl/PNaClABI/abi-i1-operations.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 2
3 3
4 ; Allowed cases 4 ; Allowed cases
5 5
6 @bytes = internal global [7 x i8] c"abcdefg" 6 @bytes = internal global [7 x i8] c"abcdefg"
7 7
8 @ptr_to_ptr = internal global i32 ptrtoint (i32* @ptr to i32) 8 @ptr_to_ptr = internal global i32 ptrtoint (i32* @ptr to i32)
9 @ptr_to_func = internal global i32 ptrtoint (void ()* @func to i32) 9 @ptr_to_func = internal global i32 ptrtoint (void ()* @func to i32)
10 10
11 @compound = internal global <{ [3 x i8], i32 }> 11 @compound = internal global <{ [3 x i8], i32 }>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ; The struct type must be anonymous. 60 ; The struct type must be anonymous.
61 %struct = type <{ [3 x i8], i32 }> 61 %struct = type <{ [3 x i8], i32 }>
62 @named_struct = internal global %struct 62 @named_struct = internal global %struct
63 <{ [3 x i8] c"foo", i32 ptrtoint (void ()* @func to i32) }> 63 <{ [3 x i8] c"foo", i32 ptrtoint (void ()* @func to i32) }>
64 ; CHECK: Global variable named_struct has non-flattened initializer 64 ; CHECK: Global variable named_struct has non-flattened initializer
65 65
66 66
67 define internal void @func() { 67 define internal void @func() {
68 ret void 68 ret void
69 } 69 }
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/abi-externals-whitelist.ll ('k') | test/NaCl/PNaClABI/abi-i1-operations.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698