[Bug tree-optimization/95565] New: [Feature request] add a flag to only instrument function entry.
hiraditya at msn dot com
gcc-bugzilla@gcc.gnu.org
Sat Jun 6 23:14:36 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95565
Bug ID: 95565
Summary: [Feature request] add a flag to only instrument
function entry.
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: hiraditya at msn dot com
Target Milestone: ---
The flag -finstrument-functions instruments both entry and the exit of
function. There are many scenarios (like cheap profiling) only instrumenting
the function entry is sufficient. But gcc instruments exit as well contributing
to unwanted code size increase.
More information about the Gcc-bugs
mailing list