diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 41ae7010485..6e7c91f6be7 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -187,21 +187,25 @@ RuntimeDyldELF::createObjectImageFromFile(std::unique_ptr Ob MemoryBuffer::getMemBuffer(ObjFile->getData(), "", false); if (ObjFile->getBytesInAddress() == 4 && ObjFile->isLittleEndian()) { - auto Obj = make_unique>>(std::move(ObjFile), Buffer, ec); + auto Obj = + llvm::make_unique>>( + std::move(ObjFile), Buffer, ec); return new ELFObjectImage>( nullptr, std::move(Obj)); } else if (ObjFile->getBytesInAddress() == 4 && !ObjFile->isLittleEndian()) { - auto Obj = make_unique>>( - std::move(ObjFile), Buffer, ec); + auto Obj = + llvm::make_unique>>( + std::move(ObjFile), Buffer, ec); return new ELFObjectImage>(nullptr, std::move(Obj)); } else if (ObjFile->getBytesInAddress() == 8 && !ObjFile->isLittleEndian()) { - auto Obj = make_unique>>( + auto Obj = llvm::make_unique>>( std::move(ObjFile), Buffer, ec); return new ELFObjectImage>(nullptr, std::move(Obj)); } else if (ObjFile->getBytesInAddress() == 8 && ObjFile->isLittleEndian()) { - auto Obj = make_unique>>( - std::move(ObjFile), Buffer, ec); + auto Obj = + llvm::make_unique>>( + std::move(ObjFile), Buffer, ec); return new ELFObjectImage>( nullptr, std::move(Obj)); } else @@ -217,27 +221,27 @@ ObjectImage *RuntimeDyldELF::createObjectImage(ObjectBuffer *Buffer) { error_code ec; if (Ident.first == ELF::ELFCLASS32 && Ident.second == ELF::ELFDATA2LSB) { - auto Obj = make_unique>>( - Buffer->getMemBuffer(), ec); + auto Obj = + llvm::make_unique>>( + Buffer->getMemBuffer(), ec); return new ELFObjectImage>( Buffer, std::move(Obj)); } else if (Ident.first == ELF::ELFCLASS32 && Ident.second == ELF::ELFDATA2MSB) { auto Obj = - make_unique>>( + llvm::make_unique>>( Buffer->getMemBuffer(), ec); return new ELFObjectImage>(Buffer, std::move(Obj)); } else if (Ident.first == ELF::ELFCLASS64 && Ident.second == ELF::ELFDATA2MSB) { - auto Obj = - make_unique>>( - Buffer->getMemBuffer(), ec); + auto Obj = llvm::make_unique>>( + Buffer->getMemBuffer(), ec); return new ELFObjectImage>(Buffer, std::move(Obj)); } else if (Ident.first == ELF::ELFCLASS64 && Ident.second == ELF::ELFDATA2LSB) { auto Obj = - make_unique>>( + llvm::make_unique>>( Buffer->getMemBuffer(), ec); return new ELFObjectImage>(Buffer, std::move(Obj)); } else