From ba3836a5302802f27547f358d9afc041178409a6 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 18 Feb 2015 23:07:13 +0000 Subject: [PATCH] [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 --- examples/Kaleidoscope/Orc/fully_lazy/toy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.34.1