[PATCH] Don't instrument inline functions that are not externally visible

Reid Kleckner rnk at google.com
Wed Nov 27 11:12:49 PST 2013


I've tried to ask you twice to explain why this is necessary:
> Can you elaborate on why the linker can't resolve references to an
internal inline function?  That seems like a perfectly reasonable thing for
it to be able to do.


On Wed, Nov 27, 2013 at 3:48 AM, Gonzalo Brito Gadeschi <
g.brito at aia.rwth-aachen.de> wrote:

> ping - this is a bugfix.
>
>
> On Tue, Nov 19, 2013 at 11:32 AM, Gonzalo Brito Gadeschi <
> g.brito at aia.rwth-aachen.de> wrote:
>
>> ping
>>
>>
>> On Tue, Nov 12, 2013 at 3:12 PM, Gonzalo Brito Gadeschi <
>> g.brito at aia.rwth-aachen.de> wrote:
>>
>>> This is a patch from Matthew Iselin that was never applied. Original
>>> thread:
>>> http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130311/075917.html
>>>
>>> From Matthew's patch: "Inline functions that are not externally visible
>>> mustn't be instrumented. They create a named reference to the inlined
>>> function, as the first parameter to __cyg_profile_* functions, which a
>>> linker will never be able to resolve."
>>>
>>> Bests,
>>> Gonzalo
>>>
>>> --
>>> Dipl.-Ing. Gonzalo Brito Gadeschi
>>> Institute of Aerodynamics and Chair of Fluid Mechanics
>>> RWTH Aachen University
>>> Wuellnerstraße 5a
>>> D-52062 Aachen
>>> Germany
>>> Phone: ++49-(0)241-80-94821
>>> Fax: ++49-(0)241-80-92257
>>> E-mail:  g.brito at aia.rwth-aachen.de
>>> Internet: www.aia.rwth-aachen.de
>>>
>>
>>
>>
>> --
>> Dipl.-Ing. Gonzalo Brito Gadeschi
>> Institute of Aerodynamics and Chair of Fluid Mechanics
>> RWTH Aachen University
>> Wuellnerstraße 5a
>> D-52062 Aachen
>> Germany
>> Phone: ++49-(0)241-80-94821
>> Fax: ++49-(0)241-80-92257
>> E-mail:  g.brito at aia.rwth-aachen.de
>> Internet: www.aia.rwth-aachen.de
>>
>
>
>
> --
> Dipl.-Ing. Gonzalo Brito Gadeschi
> Institute of Aerodynamics and Chair of Fluid Mechanics
> RWTH Aachen University
> Wuellnerstraße 5a
> D-52062 Aachen
> Germany
> Phone: ++49-(0)241-80-94821
> Fax: ++49-(0)241-80-92257
> E-mail:  g.brito at aia.rwth-aachen.de
> Internet: www.aia.rwth-aachen.de
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131127/2490cf1a/attachment.html>


More information about the cfe-commits mailing list