mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
faaa553274
commit
f2ce8f7874
@ -915,7 +915,7 @@ void generateStringPrint(llvm::LLVMContext &context,
|
|||||||
new llvm::GlobalVariable(module,
|
new llvm::GlobalVariable(module,
|
||||||
stringConstant->getType(),
|
stringConstant->getType(),
|
||||||
true,
|
true,
|
||||||
llvm::GlobalValue::LinkerPrivateLinkage,
|
llvm::GlobalValue::PrivateLinkage,
|
||||||
stringConstant,
|
stringConstant,
|
||||||
"");
|
"");
|
||||||
}
|
}
|
||||||
@ -959,7 +959,7 @@ void generateIntegerPrint(llvm::LLVMContext &context,
|
|||||||
new llvm::GlobalVariable(module,
|
new llvm::GlobalVariable(module,
|
||||||
stringConstant->getType(),
|
stringConstant->getType(),
|
||||||
true,
|
true,
|
||||||
llvm::GlobalValue::LinkerPrivateLinkage,
|
llvm::GlobalValue::PrivateLinkage,
|
||||||
stringConstant,
|
stringConstant,
|
||||||
"");
|
"");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user