[cfe-dev] Why hasn't patch for -finstrument-functions-exclude-file-list support been merged?
Gonzalo BG
gonzalobg88 at gmail.com
Mon Nov 11 11:24:29 PST 2013
Hi,
I'm trying to use "-finstrument-functions" in an application and this
feature seems to work fine.
However, I can't exclude the standard library from getting instrumented.
This means I cannot use any std library function in the
"__cyg_profile_func_enter" and "__cyg_profile_func_exit" call backs. This
is severely limiting.
GCC defines "-finstrument-functions-exclude-file-list=file,file,..." (see
http://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html) which allows you
to exclude instrumentation of some files (e.g. the std library headers!).
Someone filled a bug report and submitted a patch in march but it hasn't
been merged yet: http://llvm.org/bugs/show_bug.cgi?id=15255 .
Anyone knows the reason? If I'm not able to exclude the standard library I
can't use instrumentation in my application.
Bests,
Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131111/30fdd5ab/attachment.html>
More information about the cfe-dev
mailing list