On 20 March 2006 15:31, Richard Henderson wrote:
> On Mon, Mar 20, 2006 at 12:57:14PM -0000, Dave Korn wrote:
>> Taking a look at leaf_function_p, I see that it specifically discounts
>> sibcalls; why not noreturncalls as well?
>
> Because generally losing unwind information from noreturn calls
> is a lose when it comes to debugging.
>
>
> r~
Ah, good point. You want to know where abort() was called from indeed!
However, I might still want to make it an option for cases where debugging
isn't going to be important; it seems to me that the generated code should
still be valid.
cheers,
DaveK
--
Can't think of a witty .sigline today....