Mercurial > hg > truffle
changeset 16794:74c02c90a3f9
add exception to graph name in exception graph dump
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 12 Aug 2014 16:12:49 -0700 |
parents | ca1256ecc2fd |
children | a29e6e7b7a86 |
files | graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalDebugConfig.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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"); }