diff options
-rw-r--r-- | llvm/tools/bugpoint/CrashDebugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp index 02e488ed3da..39965039701 100644 --- a/llvm/tools/bugpoint/CrashDebugger.cpp +++ b/llvm/tools/bugpoint/CrashDebugger.cpp @@ -814,10 +814,9 @@ static bool DebugACrash(BugDriver &BD, } } while (Simplification); + BD.EmitProgressBitcode(BD.getProgram(), "reduced-instructions"); if (!NoNamedMDRM) { - BD.EmitProgressBitcode(BD.getProgram(), "reduced-instructions"); - if (!BugpointIsInterrupted) { // Try to reduce the amount of global metadata (particularly debug info), // by dropping global named metadata that anchors them @@ -837,6 +836,7 @@ static bool DebugACrash(BugDriver &BD, NamedMDOps.push_back(op); ReduceCrashingNamedMDOps(BD, TestFn).reduceList(NamedMDOps, Error); } + BD.EmitProgressBitcode(BD.getProgram(), "reduced-named-md"); } ExitLoops: |