[llvm] r191979 - Attempting to fix lli build error

Andrew Kaylor andrew.kaylor at intel.com
Fri Oct 4 13:53:49 PDT 2013


Author: akaylor
Date: Fri Oct  4 15:53:49 2013
New Revision: 191979

URL: http://llvm.org/viewvc/llvm-project?rev=191979&view=rev
Log:
Attempting to fix lli build error

Modified:
    llvm/trunk/tools/lli/RemoteMemoryManager.cpp

Modified: llvm/trunk/tools/lli/RemoteMemoryManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lli/RemoteMemoryManager.cpp?rev=191979&r1=191978&r2=191979&view=diff
==============================================================================
--- llvm/trunk/tools/lli/RemoteMemoryManager.cpp (original)
+++ llvm/trunk/tools/lli/RemoteMemoryManager.cpp Fri Oct  4 15:53:49 2013
@@ -90,7 +90,7 @@ void RemoteMemoryManager::notifyObjectLo
   // 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::notifyObjectLo
       // 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::notifyObjectLo
       // 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;
     }
   }





More information about the llvm-commits mailing list