File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -443,7 +443,8 @@ bool ReducerWorkItem::isReduced(const TestRunner &Test) const {
443
443
CurrentFilepath,
444
444
UseBitcode && !isMIR () ? sys::fs::OF_None : sys::fs::OF_Text);
445
445
if (EC) {
446
- errs () << " Error making unique filename: " << EC.message () << " !\n " ;
446
+ WithColor::error (errs (), Test.getToolName ())
447
+ << " error making unique filename: " << EC.message () << ' \n ' ;
447
448
exit (1 );
448
449
}
449
450
@@ -453,8 +454,9 @@ bool ReducerWorkItem::isReduced(const TestRunner &Test) const {
453
454
454
455
Out.os ().close ();
455
456
if (Out.os ().has_error ()) {
456
- errs () << " Error emitting bitcode to file '" << CurrentFilepath
457
- << " ': " << Out.os ().error ().message ();
457
+ WithColor::error (errs (), Test.getToolName ())
458
+ << " error emitting bitcode to file '" << CurrentFilepath
459
+ << " ': " << Out.os ().error ().message () << ' \n ' ;
458
460
exit (1 );
459
461
}
460
462
You can’t perform that action at this time.
0 commit comments