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:
Rafael Espindola 2014-02-19 01:46:57 +00:00
parent 5381278d2b
commit e24a4a66da

View File

@ -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,
"");
}