[cfe-dev] Why hasn't patch for -finstrument-functions-exclude-file-list support been merged?

Nico Weber thakis at chromium.org
Mon Nov 11 20:38:46 PST 2013


It looks like the patch stalled in review. This is the last message on the
thread:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130311/075917.html("I
will look at these issues with the patch and work on resolving them"
and then nothing). Maybe you can try to pick up the patch?


On Mon, Nov 11, 2013 at 11:24 AM, Gonzalo BG <gonzalobg88 at gmail.com> wrote:

> 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
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131111/87b1ad21/attachment.html>


More information about the cfe-dev mailing list