diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/tools/llvm-jitlink/llvm-jitlink.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp index d233ebd..7e21377 100644 --- a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp +++ b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp @@ -1212,7 +1212,7 @@ Error Session::FileInfo::registerStubEntry( if (!TS) return TS.takeError(); - SmallVector<MemoryRegionInfo> &Entry = StubInfos[TS->getName()]; + SmallVectorImpl<MemoryRegionInfo> &Entry = StubInfos[TS->getName()]; Entry.insert(Entry.begin(), {Sym.getSymbolContent(), Sym.getAddress().getValue(), Sym.getTargetFlags()}); @@ -1230,7 +1230,7 @@ Error Session::FileInfo::registerMultiStubEntry( if (!Target) return Target.takeError(); - SmallVector<MemoryRegionInfo> &Entry = StubInfos[Target->getName()]; + SmallVectorImpl<MemoryRegionInfo> &Entry = StubInfos[Target->getName()]; Entry.emplace_back(Sym.getSymbolContent(), Sym.getAddress().getValue(), Sym.getTargetFlags()); |