From: Lang Hames Date: Wed, 18 Feb 2015 23:07:13 +0000 (+0000) Subject: [Orc][Kaleidoscope] Make sure to look for the mangled name when updating the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ba3836a5302802f27547f358d9afc041178409a6;p=oota-llvm.git [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 --- diff --git a/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp b/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp index 678e687cea8..3ef97998a2d 100644 --- a/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp +++ b/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp @@ -1266,7 +1266,7 @@ public: return findSymbolIn(H, Fn->Proto->Name).getAddress(); }); CallbackInfo.setUpdateAction( - CompileCallbacks.getLocalFPUpdater(H, BodyPtrName)); + CompileCallbacks.getLocalFPUpdater(H, Mangle(BodyPtrName))); } private: