summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Orc
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-02-18 23:07:13 +0000
committerLang Hames <lhames@gmail.com>2015-02-18 23:07:13 +0000
commit2448f48b1fe2d863fbe8c67a95b17a74516a1363 (patch)
treeaa675f18b10a5d62c31684d30a723f86eb925668 /llvm/examples/Kaleidoscope/Orc
parent4799984344b1d36357dcfbc8f43aca59a7ed1980 (diff)
downloadbcm5719-llvm-2448f48b1fe2d863fbe8c67a95b17a74516a1363.tar.gz
bcm5719-llvm-2448f48b1fe2d863fbe8c67a95b17a74516a1363.zip
[Orc][Kaleidoscope] Make sure to look for the mangled name when updating the
function body pointer in the fully lazy orc/kaleidoscope tutorial. llvm-svn: 229760
Diffstat (limited to 'llvm/examples/Kaleidoscope/Orc')
-rw-r--r--llvm/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp b/llvm/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
index 678e687cea8..3ef97998a2d 100644
--- a/llvm/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud