[Orc][Kaleidoscope] Make sure to look for the mangled name when updating the

function body pointer in the fully lazy orc/kaleidoscope tutorial.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2015-02-18 23:07:13 +00:00
parent 0353372478
commit ba3836a530

View File

@ -1266,7 +1266,7 @@ public:
return findSymbolIn(H, Fn->Proto->Name).getAddress();
});
CallbackInfo.setUpdateAction(
CompileCallbacks.getLocalFPUpdater(H, BodyPtrName));
CompileCallbacks.getLocalFPUpdater(H, Mangle(BodyPtrName)));
}
private: