diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-04 20:53:49 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-04 20:53:49 +0000 |
commit | 36ea408903e4acafcb90650d94c9aa8e7484c1f5 (patch) | |
tree | 1f5cdea72e75ee3ea15cbbaed437991f97cda627 /tools/lli | |
parent | 60ccc3b0ece748b6d0b6bb51ccd1c4e31d334424 (diff) | |
download | llvm-36ea408903e4acafcb90650d94c9aa8e7484c1f5.tar.gz llvm-36ea408903e4acafcb90650d94c9aa8e7484c1f5.tar.bz2 llvm-36ea408903e4acafcb90650d94c9aa8e7484c1f5.tar.xz |
Attempting to fix lli build error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli')
-rw-r--r-- | tools/lli/RemoteMemoryManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lli/RemoteMemoryManager.cpp b/tools/lli/RemoteMemoryManager.cpp index afc804d63d..8ccfde8fc7 100644 --- a/tools/lli/RemoteMemoryManager.cpp +++ b/tools/lli/RemoteMemoryManager.cpp @@ -90,7 +90,7 @@ void RemoteMemoryManager::notifyObjectLoaded(ExecutionEngine *EE, // all the data sections. uint64_t CurOffset = 0; unsigned MaxAlign = Target->getPageAlignment(); - SmallVector<std::pair<Allocation&, uint64_t>, 16> Offsets; + SmallVector<std::pair<Allocation, uint64_t>, 16> Offsets; unsigned NumSections = UnmappedSections.size(); // We're going to go through the list twice to separate code and data, but // it's a very small list, so that's OK. @@ -105,7 +105,7 @@ void RemoteMemoryManager::notifyObjectLoaded(ExecutionEngine *EE, // section. CurOffset = (CurOffset + Align - 1) / Align * Align; // Save off the address of the new section and allocate its space. - Offsets.push_back(std::pair<Allocation&,uint64_t>(Section, CurOffset)); + Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffset)); CurOffset += Size; } } @@ -122,7 +122,7 @@ void RemoteMemoryManager::notifyObjectLoaded(ExecutionEngine *EE, // section. CurOffset = (CurOffset + Align - 1) / Align * Align; // Save off the address of the new section and allocate its space. - Offsets.push_back(std::pair<Allocation&,uint64_t>(Section, CurOffset)); + Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffset)); CurOffset += Size; } } |