1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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

llvm-svn: 230658
This commit is contained in:
Lang Hames 2015-02-26 18:36:34 +00:00
parent 40f9f8b625
commit 483f54742e

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