https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85550

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Huh, I never expected types to have "locations" ;)  I don't think we can use
DW_OP_GNU_variable_value because the refered to DIE would be in another
section.

We could simply avoid splitting out those types, right?  Those with DW_OP_addr,
that is.

I've always wanted a way to have locations in symbolical form thus in this
case sth like DW_OP_GNU_expr_value and that refering to a string like
"A::foo".  That works even for the optimized out case then.

Reply via email to