Re: LTO and debugging
Re: LTO and debugging
- Subject: Re: LTO and debugging
- From: vincent habchi <email@hidden>
- Date: Thu, 21 Mar 2013 17:22:31 +0100
On 21 mars 2013, at 16:45, Andreas Grosam <email@hidden> wrote:
>
> On 21.03.2013, at 15:05, Luca Ciciriello wrote:
>
>> Is it normal that no breakpoint is reached (disabled?) when the Link-Time Optimization is enabled?
>>
>> Luca.
>
> This is probably the effect of the optimizer: there is simply no corresponding match for the source line and code anymore after LTO has been applied
Another way to view this is that if the code has disappeared during LTO, there is a good reason: unreachable, for example. So you even if you disable LTO, you won’t stumble on your breakpoint!
Viel Spaß!
Si diverta ! ;)
Vincent
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden