Re: [PATCH] gcov: fix memory allocation problem in gcov_info_dup

From: Yuan Pengfei
Date: Wed Feb 19 2014 - 05:44:44 EST


Using -fprofile-values is one case that will cause the memory allocation
problem. More changes are needed to fully support -fprofile-values. I
submit this patch first because I think it is obvious and does no harm.
> I'm unaware of any user of -fprofile-values in the kernel. Are you
> trying to extend gcov-kernel to also support -fprofile-values? I would
> expect that additional changes to the .gcda file creation logic are
> required to fully support this GCC option.N‹§²æ¸›yú²X¬¶ÇvØ–)Þ{.nlj·¥Š{±‘êX§¶›¡Ü}©ž²ÆzÚj:+v‰¨¾«‘êZ+€Êzf£¢·hšˆ§~†­†Ûÿû®w¥¢¸?™¨è&¢)ßf”ùy§m…á«a¶Úÿ 0¶ìå