From 217360382545fef49a07cbbfa19689c29ac16d1c Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 19 Feb 2014 15:49:46 +0000 Subject: 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 --- llvm/examples/ExceptionDemo/ExceptionDemo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/examples/ExceptionDemo/ExceptionDemo.cpp') diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp index d997cc5..be35773 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, ""); } -- cgit v1.1