This is a pretty good indicator that something's gone horribly wrong. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> --- src/intel/tools/aubinator_error_decode.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c index 8a67f4f1698..a40a052da81 100644 --- a/src/intel/tools/aubinator_error_decode.c +++ b/src/intel/tools/aubinator_error_decode.c @@ -44,6 +44,7 @@ #define CSI "\e[" #define BLUE_HEADER CSI "0;44m" #define GREEN_HEADER CSI "1;42m" +#define RED_HEADER CSI "0;31m" #define NORMAL CSI "0m" /* options */ @@ -227,7 +228,9 @@ static void decode(struct gen_spec *spec, inst = gen_spec_find_instruction(spec, p); if (inst == NULL) { - printf("unknown instruction %08x\n", p[0]); + printf("%s0x%08"PRIx64": unknown instruction %08x%s\n", + option_color == COLOR_ALWAYS ? RED_HEADER : NORMAL, + offset, p[0], NORMAL); length = (p[0] & 0xff) + 2; continue; } -- 2.11.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev