Skip to content

Commit

Permalink
Include PrintBackendCFG in compilation retry
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrodriguez committed Apr 16, 2021
1 parent 6d9b3e5 commit f7c014c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import static org.graalvm.compiler.debug.DebugOptions.Dump;
import static org.graalvm.compiler.debug.DebugOptions.DumpPath;
import static org.graalvm.compiler.debug.DebugOptions.MethodFilter;
import static org.graalvm.compiler.debug.DebugOptions.PrintBackendCFG;

import java.io.ByteArrayOutputStream;
import java.io.File;
Expand Down Expand Up @@ -327,6 +328,7 @@ private T handleFailure(DebugContext initialDebug, Throwable cause) {
Dump, ":" + DebugOptions.DiagnoseDumpLevel.getValue(initialOptions),
MethodFilter, null,
DumpPath, dumpPath.getPath(),
PrintBackendCFG, true,
TrackNodeSourcePosition, true);

ByteArrayOutputStream logBaos = new ByteArrayOutputStream();
Expand Down

0 comments on commit f7c014c

Please sign in to comment.