diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-19 01:46:57 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-19 01:46:57 +0000 |
| commit | a8a0d0dabcca6c64124640ed8b0490bf4884636a (patch) | |
| tree | 2329893ca2b4bad3a960b23c35a1e17b4960d9df /llvm/examples/ExceptionDemo | |
| parent | bdab3dee8fe7a22808972e5a7957b8fd57b751a5 (diff) | |
| download | bcm5719-llvm-a8a0d0dabcca6c64124640ed8b0490bf4884636a.tar.gz bcm5719-llvm-a8a0d0dabcca6c64124640ed8b0490bf4884636a.zip | |
Use PrivateLinkage now that it is safe.
Now that llvm's codegen knows to use an 'l' prefix when needed, we can just
use PrivateLinkage.
llvm-svn: 201624
Diffstat (limited to 'llvm/examples/ExceptionDemo')
| -rw-r--r-- | llvm/examples/ExceptionDemo/ExceptionDemo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp index be357730e68..d997cc55a9f 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::LinkerPrivateLinkage, + llvm::GlobalValue::PrivateLinkage, stringConstant, ""); } @@ -959,7 +959,7 @@ void generateIntegerPrint(llvm::LLVMContext &context, new llvm::GlobalVariable(module, stringConstant->getType(), true, - llvm::GlobalValue::LinkerPrivateLinkage, + llvm::GlobalValue::PrivateLinkage, stringConstant, ""); } |

