Skip to content

Commit 34a62f9

Browse files
committed
[llvm-profdata] Fix use-after-move
1 parent 5a34399 commit 34a62f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/tools/llvm-profdata/llvm-profdata.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ static void exitWithError(Error E, StringRef Whence = "") {
9090
}
9191
exitWithError(IPE.message(), std::string(Whence), std::string(Hint));
9292
});
93+
return;
9394
}
9495

9596
exitWithError(toString(std::move(E)), std::string(Whence));

0 commit comments

Comments
 (0)