mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Fix a builtbot failure after 3ed04f93e30121867a813a220452b97aebeb1730.
This commit is contained in:
parent
764ab31df1
commit
0d7df5ad90
@ -111,7 +111,7 @@ extractSections(const object::MachOObjectFile::LoadCommandInfo &LoadCmd,
|
||||
assert(S.NReloc == S.Relocations.size() &&
|
||||
"Incorrect number of relocations");
|
||||
}
|
||||
return Sections;
|
||||
return std::move(Sections);
|
||||
}
|
||||
|
||||
Error MachOReader::readLoadCommands(Object &O) const {
|
||||
@ -334,7 +334,7 @@ Expected<std::unique_ptr<Object>> MachOReader::create() const {
|
||||
readFunctionStartsData(*Obj);
|
||||
readIndirectSymbolTable(*Obj);
|
||||
readSwiftVersion(*Obj);
|
||||
return Obj;
|
||||
return std::move(Obj);
|
||||
}
|
||||
|
||||
} // end namespace macho
|
||||
|
Loading…
Reference in New Issue
Block a user