mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
Make functions default to having external linkage if they have no
FunctionBlock. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
226b72672e
commit
18549c25d6
@ -1880,8 +1880,8 @@ void BytecodeReader::ParseModuleGlobalInfo() {
|
||||
cast<FunctionType>(cast<PointerType>(Ty)->getElementType());
|
||||
|
||||
|
||||
// Insert the place hodler
|
||||
Function* Func = new Function(FTy, GlobalValue::InternalLinkage,
|
||||
// Insert the place holder.
|
||||
Function* Func = new Function(FTy, GlobalValue::ExternalLinkage,
|
||||
"", TheModule);
|
||||
insertValue(Func, FnSignature >> 5, ModuleValues);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user