[Dwarf-Discuss] how to find local variable stored in register

Daniel Jacobowitz drow@false.org
Tue Feb 5 22:01:29 GMT 2008

On Tue, Feb 05, 2008 at 04:50:17PM -0500, Frank Ch. Eigler wrote:
> Do you have a sense of how much?  My limited experience with recent
> advanced gcc options for reaching for more pedantically super-precise
> data :-) indicates nothing worrysome in bloat.

I'm sure we could do better, but with the current var-tracking pass
at -O0 the penalty was huge:


Notice that those are total executable size, not debug info size.

Currently, GCC emits only a single location for each variable with
optimization off.  It emits location lists describing "every" location
with optimization on (for poor values of every, without the recently
discussed work of Alexandre Oliva or others trying alternate

Daniel Jacobowitz

More information about the Dwarf-discuss mailing list