Skip to content

Commit

Permalink
Use PrivateLinkage now that it is safe.
Browse files Browse the repository at this point in the history
Now that llvm's codegen knows to use an 'l' prefix when needed, we can just
use PrivateLinkage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201624 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed Feb 19, 2014
1 parent faaa553 commit f2ce8f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ExceptionDemo/ExceptionDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ void generateStringPrint(llvm::LLVMContext &context,
new llvm::GlobalVariable(module,
stringConstant->getType(),
true,
llvm::GlobalValue::LinkerPrivateLinkage,
llvm::GlobalValue::PrivateLinkage,
stringConstant,
"");
}
Expand Down Expand Up @@ -959,7 +959,7 @@ void generateIntegerPrint(llvm::LLVMContext &context,
new llvm::GlobalVariable(module,
stringConstant->getType(),
true,
llvm::GlobalValue::LinkerPrivateLinkage,
llvm::GlobalValue::PrivateLinkage,
stringConstant,
"");
}
Expand Down

0 comments on commit f2ce8f7

Please sign in to comment.