On 05/30/14 06:56, Ilya Enkovich wrote:
Hi,
Before any instrumentation happens, instrumentation clones do not actually have
any uses and thus may be removed. This patch fixes it by forbiding removal of
not instrumented instrumentation clones.
Bootstrapped and tested on linux-x86_64.
Thanks,
Ilya
--
gcc/
2014-05-30 Ilya Enkovich <ilya.enkov...@intel.com>
* cgraph.c (cgraph_can_remove_if_no_direct_calls_and_refs_p): Keep
all not instrumented instrumentation clones alive.
OK for the trunk when the rest of the bounds checker stuff is approved.
jeff