[PATCH 8/17] Optimization of strlen instrumentation

2014-10-16 Thread Yury Gribov
Difference from mainline: replaced non-C-friendly bool with unsigned char (see patch 0001 for explanation). Do not instrument first byte in strlen if already instrumented. 2014-10-15 Yury Gribov y.gri...@samsung.com Backport from mainline 2014-06-24 Max Ostapenko

Re: [PATCH 8/17] Optimization of strlen instrumentation

2014-10-16 Thread Jakub Jelinek
On Thu, Oct 16, 2014 at 12:39:17PM +0400, Yury Gribov wrote: Difference from mainline: replaced non-C-friendly bool with unsigned char (see patch 0001 for explanation). Where? I don't see unsigned char being used anywhere in the patch. bool is certainly fine in GCC itself. Do not instrument

Re: [PATCH 8/17] Optimization of strlen instrumentation

2014-10-16 Thread Yury Gribov
On 10/16/2014 12:49 PM, Jakub Jelinek wrote: On Thu, Oct 16, 2014 at 12:39:17PM +0400, Yury Gribov wrote: Difference from mainline: replaced non-C-friendly bool with unsigned char (see patch 0001 for explanation). Where? I don't see unsigned char being used anywhere in the patch. bool is