Re: [Dwarf-discuss] Location expressions for partially-optimized-out structs

2024-02-27 Thread Kyle Huey via Dwarf-discuss
On Tue, Feb 27, 2024 at 9:35 PM Cary Coutant wrote: > > > The text for DW_OP_bit_piece, on the other hand, does explicitly > > contemplate this, containing the language: > > > > If the location description is empty, the offset doesn’t matter and > > the DW_OP_bit_piece operation describes a piece

Re: [Dwarf-discuss] Location expressions for partially-optimized-out structs

2024-02-27 Thread Cary Coutant via Dwarf-discuss
> The text for DW_OP_bit_piece, on the other hand, does explicitly > contemplate this, containing the language: > > If the location description is empty, the offset doesn’t matter and > the DW_OP_bit_piece operation describes a piece consisting of the > given number of bits whose values are undefin

[Dwarf-discuss] Location expressions for partially-optimized-out structs

2024-02-27 Thread Kyle Huey via Dwarf-discuss
This originates from https://github.com/rust-lang/rust/issues/46698 This Rust program has a function that takes a struct type as an argument. The compiler is clever enough to rewrite the function so that a subset of the struct's fields are passed as arguments at the machine code level (in this cas

Re: [Dwarf-discuss] Coroutines

2024-02-27 Thread Kyle Huey via Dwarf-discuss
On Tue, Feb 27, 2024 at 1:07 PM Adrian Prantl wrote: > > > On Feb 27, 2024, at 10:32 AM, Kyle Huey wrote: > > On Wed, Feb 21, 2024 at 9:12 AM Adrian Prantl wrote: > >> Can you clarify what kind of information you are interested in? Are you >> talking about representing variables inside of corou

Re: [Dwarf-discuss] Coroutines

2024-02-27 Thread Adrian Prantl via Dwarf-discuss
> On Feb 27, 2024, at 10:32 AM, Kyle Huey wrote: > > On Wed, Feb 21, 2024 at 9:12 AM Adrian Prantl > wrote: >> Can you clarify what kind of information you are interested in? Are you >> talking about representing variables inside of coroutines, function pointers >>

Re: [Dwarf-discuss] Coroutines

2024-02-27 Thread Kyle Huey via Dwarf-discuss
On Wed, Feb 21, 2024 at 9:12 AM Adrian Prantl wrote: > Can you clarify what kind of information you are interested in? Are you > talking about representing variables inside of coroutines, function > pointers to coroutines, linetables for coroutines, ...? > > LLDB's Swift plugin for example suppor

[Dwarf-discuss] Sourceware infrastructure updates for Q1 2024

2024-02-27 Thread Mark Wielaard via Dwarf-discuss
Sourceware infrastructure community updates for Q1 2024 A summary of news about Sourceware, the Free Software hosting project for core toolchain and developer tools, from the last 3 months. - Sourceware now has an official donation page - StarFive VisionFive-2 RISC-V boards for builder.sourceware