mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Make functions default to having external linkage if they have no
FunctionBlock. llvm-svn: 17853
This commit is contained in:
parent
625a480806
commit
d1e621acc6
@ -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