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

Unified Diff: tests_lit/reader_tests/unnamed.ll

Issue 1387963002: Make sure that all globals are internal, except for "start" functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix new tests. Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/reader_tests/switch.ll ('k') | unittest/IceParseInstsTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/reader_tests/unnamed.ll
diff --git a/tests_lit/reader_tests/unnamed.ll b/tests_lit/reader_tests/unnamed.ll
index 3f84b01af467234654761dba67d1a9b2634cbb8e..b5db14705e9401929f457e298a8073c983bd6bc4 100644
--- a/tests_lit/reader_tests/unnamed.ll
+++ b/tests_lit/reader_tests/unnamed.ll
@@ -23,39 +23,39 @@
@1 = internal constant [10 x i8] c"Some stuff", align 1
@g = internal global [4 x i8] zeroinitializer, align 4
-define i32 @2(i32 %v) {
+define internal i32 @2(i32 %v) {
ret i32 %v
}
-; CHECK: define i32 @Function(i32 %__0) {
+; CHECK: define internal i32 @Function(i32 %__0) {
; CHECK-NEXT: __0:
; CHECK-NEXT: ret i32 %__0
; CHECK-NEXT: }
-define void @hg() {
+define internal void @hg() {
ret void
}
-; CHECK-NEXT: define void @hg() {
+; CHECK-NEXT: define internal void @hg() {
; CHECK-NEXT: __0:
; CHECK-NEXT: ret void
; CHECK-NEXT: }
-define void @3() {
+define internal void @3() {
ret void
}
-; CHECK-NEXT: define void @Function1() {
+; CHECK-NEXT: define internal void @Function1() {
; CHECK-NEXT: __0:
; CHECK-NEXT: ret void
; CHECK-NEXT: }
-define void @h5() {
+define internal void @h5() {
ret void
}
-; CHECK-NEXT: define void @h5() {
+; CHECK-NEXT: define internal void @h5() {
; CHECK-NEXT: __0:
; CHECK-NEXT: ret void
; CHECK-NEXT: }
« no previous file with comments | « tests_lit/reader_tests/switch.ll ('k') | unittest/IceParseInstsTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698