File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,11 @@ class BaseCompiler {
296
296
. then ( ( [ asmResult , astResult , gccDumpResult ] ) => {
297
297
asmResult . dirPath = dirPath ;
298
298
asmResult . compilationOptions = options ;
299
+ // Here before the check to ensure dump reports even on failure cases
300
+ if ( this . compiler . supportsGccDump && gccDumpResult ) {
301
+ asmResult . gccDumpOutput = gccDumpResult ;
302
+ }
303
+
299
304
if ( asmResult . code !== 0 ) {
300
305
asmResult . asm = "<Compilation failed>" ;
301
306
return asmResult ;
@@ -313,10 +318,6 @@ class BaseCompiler {
313
318
asmResult . astOutput = astResult ;
314
319
}
315
320
316
- if ( this . compiler . supportsGccDump && gccDumpResult ) {
317
- asmResult . gccDumpOutput = gccDumpResult ;
318
- }
319
-
320
321
return this . checkOutputFileAndDoPostProcess ( asmResult , outputFilename , filters ) ;
321
322
} ) ;
322
323
} ) ;
You can’t perform that action at this time.
0 commit comments