Re: [PATCH] dwarf2out: Propagate dtprel into the .debug_addr table in resolve_addr_in_expr

2025-05-01 Thread Richard Biener
On Fri, May 2, 2025 at 2:14 AM Kyle Huey wrote: > > For a debugger to display statically-allocated[0] TLS variables the compiler > must communicate information[1] that can be used in conjunction with knowledge > of the runtime enviroment[2] to calculate a location for the variable for > each threa

[PATCH] dwarf2out: Propagate dtprel into the .debug_addr table in resolve_addr_in_expr

2025-05-01 Thread Kyle Huey
For a debugger to display statically-allocated[0] TLS variables the compiler must communicate information[1] that can be used in conjunction with knowledge of the runtime enviroment[2] to calculate a location for the variable for each thread. That need gives rise to dw_loc_dtprel in dwarf2out, a fl