[Orc][Kaleidoscope] More diff-reduction between tutorial versions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230658 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2015-02-26 18:36:34 +00:00
parent e53d9df042
commit 69d2539554

View File

@ -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; } );