projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Orc][Kaleidoscope] Make sure to look for the mangled name when updating the
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
Orc
/
fully_lazy
/
toy.cpp
diff --git
a/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
b/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
index 678e687cea8a1a01e0707adaaf6b9f747d51ab46..3ef97998a2df77a535ca068bfb052e74746aebb5 100644
(file)
--- 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: