diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index e83228d74a5..65d4c1c15d7 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -1880,8 +1880,8 @@ void BytecodeReader::ParseModuleGlobalInfo() { cast(cast(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);