mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201688 91177308-0d34-0410-b5e6-96231b3b80d8
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