Re: [Dwarf-discuss] Coroutines

2024-02-28 Thread Kyle Huey via Dwarf-discuss
On Wed, Feb 28, 2024 at 10:02 AM Adrian Prantl wrote: > > > > On Feb 27, 2024, at 1:53 PM, Kyle Huey via Dwarf-discuss > wrote: > > Put another way (forgive my pseudo code), if you have > > function silly_print() { > delay = rand(); > // Point 1 > async_sleep(delay).await; > // P

Re: [Dwarf-discuss] Coroutines

2024-02-28 Thread Adrian Prantl via Dwarf-discuss
> On Feb 27, 2024, at 1:53 PM, Kyle Huey via Dwarf-discuss > wrote: > > Put another way (forgive my pseudo code), if you have > > function silly_print() { > delay = rand(); > // Point 1 > async_sleep(delay).await; > // Point 2 > printf("Hello" ); > } > > function do_stuff

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

2024-02-28 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