1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Fix build error on gcc.

llvm-svn: 304595
This commit is contained in:
Zachary Turner 2017-06-02 21:00:22 +00:00
parent 190982ec1b
commit dbb1d04cf0

View File

@ -397,7 +397,7 @@ llvm::CodeViewYAML::convertSubsectionList(
DebugStringTableSubsection &Strings) {
std::vector<std::unique_ptr<DebugSubsection>> Result;
if (Subsections.empty())
return Result;
return std::move(Result);
auto Checksums = findChecksums(Subsections);
if (!Checksums)