summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ExceptionDemo
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-19 15:49:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-19 15:49:46 +0000
commit217360382545fef49a07cbbfa19689c29ac16d1c (patch)
tree1d222f12e31e9fdc6a29c6785784ae25545b35a3 /llvm/examples/ExceptionDemo
parent840cef3e0d0bb3f67084179b2df4f7c1c9cd2208 (diff)
downloadbcm5719-llvm-217360382545fef49a07cbbfa19689c29ac16d1c.tar.gz
bcm5719-llvm-217360382545fef49a07cbbfa19689c29ac16d1c.zip
This reverts commit r201625 and r201624.
Since r201608 got reverted, it is not safe to use private linkage in these cases until it is committed back. llvm-svn: 201688
Diffstat (limited to 'llvm/examples/ExceptionDemo')
-rw-r--r--llvm/examples/ExceptionDemo/ExceptionDemo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
index d997cc55a9f..be357730e68 100644
--- a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
@@ -915,7 +915,7 @@ void generateStringPrint(llvm::LLVMContext &context,
new llvm::GlobalVariable(module,
stringConstant->getType(),
true,
- llvm::GlobalValue::PrivateLinkage,
+ llvm::GlobalValue::LinkerPrivateLinkage,
stringConstant,
"");
}
@@ -959,7 +959,7 @@ void generateIntegerPrint(llvm::LLVMContext &context,
new llvm::GlobalVariable(module,
stringConstant->getType(),
true,
- llvm::GlobalValue::PrivateLinkage,
+ llvm::GlobalValue::LinkerPrivateLinkage,
stringConstant,
"");
}
OpenPOWER on IntegriCloud