Commit d1564f4d authored by Matthias Braun's avatar Matthias Braun
Browse files

display function name on verify errors

parent 979cade5
...@@ -28,7 +28,7 @@ static void warn(const ir_node *n, const char *format, ...) ...@@ -28,7 +28,7 @@ static void warn(const ir_node *n, const char *format, ...)
FILE *out = stderr; FILE *out = stderr;
fputs("Verify warning: ", out); fputs("Verify warning: ", out);
if (n != NULL) { if (n != NULL) {
ir_fprintf(out, "%+F: ", n); ir_fprintf(out, "%+F(%+F): ", n, get_irn_irg(n));
} }
va_list ap; va_list ap;
va_start(ap, format); va_start(ap, format);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment