summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-12-22 14:22:14 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-12-22 14:22:14 +0000
commitb143ea3739a9f714fff3e11ec472edfe06368748 (patch)
treeb075c0613701fde55cd5f132b6d2cf302db366ba /test
parentf613919fea56ffb52e23d456bef87c00a3dcf01d (diff)
downloadllvm-b143ea3739a9f714fff3e11ec472edfe06368748.tar.gz
llvm-b143ea3739a9f714fff3e11ec472edfe06368748.tar.bz2
llvm-b143ea3739a9f714fff3e11ec472edfe06368748.tar.xz
Give string constants generated by IRBuilder private linkage.
Fixes PR11640. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/SimplifyLibCalls/Printf.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/SimplifyLibCalls/Printf.ll b/test/Transforms/SimplifyLibCalls/Printf.ll
index c98e79ae55..489c993f21 100644
--- a/test/Transforms/SimplifyLibCalls/Printf.ll
+++ b/test/Transforms/SimplifyLibCalls/Printf.ll
@@ -3,7 +3,7 @@
@str = internal constant [13 x i8] c"hello world\0A\00" ; <[13 x i8]*> [#uses=1]
@str1 = internal constant [2 x i8] c"h\00" ; <[2 x i8]*> [#uses=1]
-; CHECK: internal unnamed_addr constant [12 x i8] c"hello world\00"
+; CHECK: private unnamed_addr constant [12 x i8] c"hello world\00"
declare i32 @printf(i8*, ...)