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

Gonzalo Brito Gadeschi g.brito at aia.rwth-aachen.de
Wed Nov 27 03:48:21 PST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131127/46e29007/attachment.html>


More information about the cfe-commits mailing list