On 05/18/2012 04:48 PM, Eric Botcazou wrote:
Why do you need this change?  As long as we're setting DW_AT_inline, it
shouldn't matter what its value is.

It's 0 for the nested function without it.

Ah, I thought that having DW_AT_inline of DW_INL_not_inlined was enough to mark it as an abstract instance, but it seems I was wrong.

If we are looking at the DIE for something from a function in non-unit
scope, this will return comp_unit_die() where previously it would have
returned the immediate scope of the function, which might be something
like a namespace/module or type.

Does it really matter for concrete instances of inline functions?

Nope. Are those the only things with an abstract origin that will end up on limbo? If we're always going to attach them to comp_unit_die () anyway, we might as well do that without the loop.

Jason

Reply via email to