mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-27 05:10:41 +00:00
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
This commit is contained in:
parent
5381278d2b
commit
e24a4a66da
@ -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,
|
||||
"");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user