[PATCH] D62114: [Bugpoint] fix another use-after-move. NFC
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 31 14:33:39 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL362267: [Bugpoint] fix another use-after-move. NFC (authored by nickdesaulniers, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D62114?vs=200194&id=202487#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62114/new/
https://reviews.llvm.org/D62114
Files:
llvm/trunk/tools/bugpoint/Miscompilation.cpp
Index: llvm/trunk/tools/bugpoint/Miscompilation.cpp
===================================================================
--- llvm/trunk/tools/bugpoint/Miscompilation.cpp
+++ llvm/trunk/tools/bugpoint/Miscompilation.cpp
@@ -705,8 +705,8 @@
if (!Optimized) {
errs() << " Error running this sequence of passes"
<< " on the input program!\n";
- BD.setNewProgram(std::move(Test));
BD.EmitProgressBitcode(*Test, "pass-error", false);
+ BD.setNewProgram(std::move(Test));
if (Error E = BD.debugOptimizerCrash())
return std::move(E);
return false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62114.202487.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190531/330068f7/attachment.bin>
More information about the llvm-commits
mailing list