Commit b7500faa authored by Christoph Mallon's avatar Christoph Mallon

panic: Also print the name of the function in TODO.

parent 720c64ba
......@@ -21,6 +21,6 @@ FIRM_NORETURN print_panic(char const *file, int line, char const *func,
#define panic(...) print_panic(__FILE__, __LINE__, __func__, __VA_ARGS__)
#define TODO(node) panic("%+F: TODO", node)
#define TODO(node) panic("%+F in function '%F': TODO", node, get_irn_irg(node))
# endif
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