[PATCH] Add call site line number with -fdump-ipa-inline-all switch
rajagopal, dwarak
dwarak.rajagopal@amd.com
Fri Apr 10 18:37:00 GMT 2009
When a function is calling another function multiple times at different
locations all of which may not be inlined, it is difficult to figure out
which of the calls where inlined without the line number information of
the call site.
This patch adds the line number of the call site in the dump_file.
Tested and Bootstrapped on x86_64.
Okay for the trunk?
Thanks,
Dwarak
2009-04-10 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* ipa-inline.c (cgraph_decide_inlining_of_small_function): Dump
line number of the call site.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline-lndump.patch
Type: application/octet-stream
Size: 762 bytes
Desc: inline-lndump.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090410/5fc9444f/attachment.obj>
More information about the Gcc-patches
mailing list