diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-08-03 22:18:45 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-08-03 22:18:45 +0000 |
commit | bd194ced30c9fc86bb73313574bd96208e660b4c (patch) | |
tree | 9d10659d2b9f3419624bc6a084dc4017c20af1d5 /tools | |
parent | 782fdcefa50925f4a42159ae72552220c36fb24e (diff) | |
download | llvm-bd194ced30c9fc86bb73313574bd96208e660b4c.tar.gz llvm-bd194ced30c9fc86bb73313574bd96208e660b4c.tar.bz2 llvm-bd194ced30c9fc86bb73313574bd96208e660b4c.tar.xz |
Unbreak llvm-rtdyld build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-rtdyld/llvm-rtdyld.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-rtdyld/llvm-rtdyld.cpp b/tools/llvm-rtdyld/llvm-rtdyld.cpp index b93ac640b8..7f042d2ef2 100644 --- a/tools/llvm-rtdyld/llvm-rtdyld.cpp +++ b/tools/llvm-rtdyld/llvm-rtdyld.cpp @@ -204,7 +204,7 @@ static int executeInput() { // Resolve all the relocations we can. Dyld.resolveRelocations(); // Clear instruction cache before code will be executed. - MemMgr->invalidateInstructionCache(); + MemMgr.invalidateInstructionCache(); // FIXME: Error out if there are unresolved relocations. @@ -214,8 +214,8 @@ static int executeInput() { return Error("no definition for '" + EntryPoint + "'"); // Invalidate the instruction cache for each loaded function. - for (unsigned i = 0, e = MemMgr->FunctionMemory.size(); i != e; ++i) { - sys::MemoryBlock &Data = MemMgr->FunctionMemory[i]; + for (unsigned i = 0, e = MemMgr.FunctionMemory.size(); i != e; ++i) { + sys::MemoryBlock &Data = MemMgr.FunctionMemory[i]; // Make sure the memory is executable. std::string ErrorStr; sys::Memory::InvalidateInstructionCache(Data.base(), Data.size()); |