# HG changeset patch # User Tom Rodriguez # Date 1407885169 25200 # Node ID 74c02c90a3f94cff5ab4d305740974253fc5604e # Parent ca1256ecc2fd21e90cbd1cff33a65ca719f2d8af add exception to graph name in exception graph dump diff -r ca1256ecc2fd -r 74c02c90a3f9 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalDebugConfig.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalDebugConfig.java Tue Aug 12 16:10:55 2014 -0700 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalDebugConfig.java Tue Aug 12 16:12:49 2014 -0700 @@ -259,14 +259,14 @@ if (o instanceof Graph) { Debug.log("Context obj %s", o); if (DumpOnError.getValue()) { - Debug.dump(o, "Exception graph"); + Debug.dump(o, "Exception graph: " + e); } else { Debug.log("Use -G:+DumpOnError to enable dumping of graphs on this error"); } } else if (o instanceof LIR) { Debug.log("Context obj %s", o); if (DumpOnError.getValue()) { - Debug.dump(o, "LIR"); + Debug.dump(o, "Exception LIR: " + e); } else { Debug.log("Use -G:+DumpOnError to enable dumping of graphs on this error"); }