summaryrefslogtreecommitdiff
path: root/examples
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
commit3e0d3a45e57237e8029f696faa801618d87a4259 (patch)
tree0e2c668bbfa2e5822cc6c5a6b1b3c7519f424b0b /examples
parent210edf55593dd88ff88b8d029243537452401b29 (diff)
downloadllvm-3e0d3a45e57237e8029f696faa801618d87a4259.tar.gz
llvm-3e0d3a45e57237e8029f696faa801618d87a4259.tar.bz2
llvm-3e0d3a45e57237e8029f696faa801618d87a4259.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/ExceptionDemo/ExceptionDemo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp
index d997cc55a9..be357730e6 100644
--- a/examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/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,
"");
}