This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
option similar to -finstrument-functions but for code blocks
- From: Peng Yu <pengyu dot ut at gmail dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 23 Jan 2019 08:54:04 -0600
- Subject: option similar to -finstrument-functions but for code blocks
I'd like to track not just at the function level, but also at the code
block level. For example, for a if-else statement, I want to know when
the if-branch or else-branch is enter/exit.
Is there an option similar to -finstrument-functions for code blocks?
--
Regards,
Peng