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

2025-05-05 Thread Kyle Huey
On Mon, May 5, 2025 at 6:45 AM Richard Biener wrote: > > On Mon, May 5, 2025 at 3:37 PM Kyle Huey wrote: > > > > On Thu, May 1, 2025 at 11:22 PM Richard Biener > > wrote: > > > > > > On Fri, May 2, 2025 at 2:14 AM Kyle Huey wrote: > > > > > > > > For a debugger to display statically-allocated[0

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

2025-05-05 Thread Richard Biener
On Mon, May 5, 2025 at 3:37 PM Kyle Huey wrote: > > On Thu, May 1, 2025 at 11:22 PM Richard Biener > wrote: > > > > 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

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

2025-05-05 Thread Kyle Huey
On Thu, May 1, 2025 at 11:22 PM Richard Biener wrote: > > 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

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