From 1b8ac539825d10b38d12759a862f43f7b40ddd9a Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Fri, 9 Aug 2013 07:34:06 +0000 Subject: [PATCH] Try to unbreak Windows build after r188022 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188057 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/ELF.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Object/ELF.h b/include/llvm/Object/ELF.h index 39a8c981c59..a6774c11503 100644 --- a/include/llvm/Object/ELF.h +++ b/include/llvm/Object/ELF.h @@ -565,7 +565,7 @@ std::pair::Elf_Shdr *, const typename ELFFile::Elf_Sym *> ELFFile::getRelocationSymbol(const Elf_Shdr *Sec, const RelT *Rel) const { if (!Sec->sh_link) - return std::pair(0, 0); + return std::make_pair((const Elf_Shdr *)0, (const Elf_Sym *)0); const Elf_Shdr *SymTable = getSection(Sec->sh_link); return std::make_pair( SymTable, getEntry(SymTable, Rel->getSymbol(isMips64EL())));