This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Determining if a method is actually inlined


> From: Jeffrey Holle
>
> I am using gcc 4.0.2.
>
> I'm know that the inline keyword is only a sugguestion to a
> C++ compiler,
> because the method's complexity might make inlining impossible.
>
> Is there a way to determine if a given method was actually inlined?

Look in the map file generated by the linker.
Gnu LD shows you the symbols generated per .o file.

In my stuff (gcc. 3.4.3, binutils 2.15) they all show up destined
for the .gnu.linkonce section.

--
Matthew JONES
http://www.tandbergtv.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]