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

Side by Side Diff: test/NaCl/PNaClABI/abi-visibility.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-varargs.ll ('k') | test/NaCl/PNaClABI/global-attributes.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 ; Disallow the visibility attributes set by 3 ; Disallow the visibility attributes set by
4 ; __attribute__((visibility("hidden"))) and 4 ; __attribute__((visibility("hidden"))) and
5 ; __attribute__((visibility("protected"))). 5 ; __attribute__((visibility("protected"))).
6 6
7 define internal hidden void @visibility_hidden() { 7 define internal hidden void @visibility_hidden() {
8 ret void 8 ret void
9 } 9 }
10 ; CHECK: Function visibility_hidden has disallowed visibility: hidden 10 ; CHECK: Function visibility_hidden has disallowed visibility: hidden
11 11
12 define internal protected void @visibility_protected() { 12 define internal protected void @visibility_protected() {
13 ret void 13 ret void
14 } 14 }
15 ; CHECK-NEXT: Function visibility_protected has disallowed visibility: protected 15 ; CHECK-NEXT: Function visibility_protected has disallowed visibility: protected
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/abi-varargs.ll ('k') | test/NaCl/PNaClABI/global-attributes.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698