From 061023e45062292cc700dbd83ebcd9b720a2a220 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 9 Mar 2023 17:20:18 +0000 Subject: [PATCH] [ELF] Fix build after getSectionAndRelocations Refactoring Didn't fail locally for some reason with my gcc toolchain. --- llvm/lib/Object/ELF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Object/ELF.cpp b/llvm/lib/Object/ELF.cpp index aaa2abf..46e1b13 100644 --- a/llvm/lib/Object/ELF.cpp +++ b/llvm/lib/Object/ELF.cpp @@ -746,7 +746,7 @@ ELFFile::getSectionAndRelocations( SecToRelocMap[ContentsSec] = &Sec; } if(Errors) - return Errors; + return std::move(Errors); return SecToRelocMap; } -- 2.7.4