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. llvm-svn: 201688
This commit is contained in:
@@ -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,
|
||||
"");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user