|
From: pankaj p. <pan...@gm...> - 2011-07-14 21:27:20
|
Hi all, Is it possible to keep track of inlined functions or instructions that appear because of the inlining? Can I get the function which was inlined ? Regards, pankaj |
|
From: John R. <jr...@bi...> - 2011-07-14 21:54:24
|
> Is it possible to keep track of inlined functions or instructions that appear because of the inlining? Can I get the function which was inlined ?In most In most cases, inlining loses track of the identity of the function which has been inlined. However, the line number information for a given program counter value may still point to the correct location in the source file, depending on the compiler. Also, a correctly- written program still will work with 'inline' defeated, such as compiling with "-Dinline" or "#define inline /*empty*/", or perhaps with an explicit "turn off inlining" directive to the compiler. -- |