forked from OSchip/llvm-project
[Orc][Kaleidoscope] More diff-reduction between tutorial versions.
llvm-svn: 230658
This commit is contained in:
parent
90ec1b175e
commit
f00d772124
|
@ -1176,8 +1176,8 @@ public:
|
||||||
// new module. Create one that resolves symbols by looking back into the
|
// new module. Create one that resolves symbols by looking back into the
|
||||||
// JIT.
|
// JIT.
|
||||||
auto MM = createLookasideRTDyldMM<SectionMemoryManager>(
|
auto MM = createLookasideRTDyldMM<SectionMemoryManager>(
|
||||||
[&](const std::string &S) {
|
[&](const std::string &Name) {
|
||||||
return findSymbol(S).getAddress();
|
return findSymbol(Name).getAddress();
|
||||||
},
|
},
|
||||||
[](const std::string &S) { return 0; } );
|
[](const std::string &S) { return 0; } );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue