[llvm] r230658 - [Orc][Kaleidoscope] More diff-reduction between tutorial versions.
Lang Hames
lhames at gmail.com
Thu Feb 26 10:36:34 PST 2015
Author: lhames
Date: Thu Feb 26 12:36:34 2015
New Revision: 230658
URL: http://llvm.org/viewvc/llvm-project?rev=230658&view=rev
Log:
[Orc][Kaleidoscope] More diff-reduction between tutorial versions.
Modified:
llvm/trunk/examples/Kaleidoscope/Orc/initial/toy.cpp
Modified: llvm/trunk/examples/Kaleidoscope/Orc/initial/toy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/Orc/initial/toy.cpp?rev=230658&r1=230657&r2=230658&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/Orc/initial/toy.cpp (original)
+++ llvm/trunk/examples/Kaleidoscope/Orc/initial/toy.cpp Thu Feb 26 12:36:34 2015
@@ -1176,8 +1176,8 @@ public:
// new module. Create one that resolves symbols by looking back into the
// JIT.
auto MM = createLookasideRTDyldMM<SectionMemoryManager>(
- [&](const std::string &S) {
- return findSymbol(S).getAddress();
+ [&](const std::string &Name) {
+ return findSymbol(Name).getAddress();
},
[](const std::string &S) { return 0; } );
More information about the llvm-commits
mailing list