[Beignet] [PATCH 6/6] Debug Support: Print line and column NO. with ASM
Song, Ruiling
ruiling.song at intel.com
Mon Nov 2 18:31:23 PST 2015
> +
> + if (OCL_PROFILING)
> + fprintf(file, "[%3i,%3i]", p->storedbg[insnID].srcline, p-
> >storedbg[insnID].srcline);
You printf srcline two times.
And here using OCL_PROFILING to control the output of debuginfo is a little misunderstanding.
Profiling often means performance information, you can you OCL_DEBUGINFO or something else you think better.
> +
> fprintf(file, " (%8i) ", insnID);
> pCom = (GenCompactInstruction*)&p->store[insnID];
> if(pCom->bits1.cmpt_control == 1) {
> --
> 1.9.1
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list