Re: [go-nuts] Questions Regarding Go 1.15 Dwarf generation

2021-02-23 Thread Mahdi Hosseini
Thank you, I would certainly do that. On Tue, Feb 23, 2021 at 12:59 PM Than McIntosh wrote: > > I would second Ian's recommendation to look at the 1.16 code -- a lot has > changed since 1.15. > > >>There is a LoadFull function in loader with works with payloads but I > have no idea what function

Re: [go-nuts] Questions Regarding Go 1.15 Dwarf generation

2021-02-23 Thread 'Than McIntosh' via golang-nuts
I would second Ian's recommendation to look at the 1.16 code -- a lot has changed since 1.15. >>There is a LoadFull function in loader with works with payloads but I have no idea what function and in what phase the raw data for each symbols being created and added to payloads. I would appreciate i

Re: [go-nuts] Questions Regarding Go 1.15 Dwarf generation

2021-02-23 Thread Mahdi Hosseini
Thanks for your reply. Actually yes, I am looking at the dwarfGenerateDebugSyms function in dwarf.go in cmd/lin/internal/ld trying to understand how and when CUs are being generated and then added to dwarfp2 specially the header and length of each CU. R, Mahdi On Mon, Feb 22, 2021 at 11:36 PM Ian

Re: [go-nuts] Questions Regarding Go 1.15 Dwarf generation

2021-02-22 Thread Ian Lance Taylor
On Mon, Feb 22, 2021 at 12:59 PM m.hos...@gmail.com wrote: > > I am experimenting with dwarf generation in Go1.15 at the moment and looking > into new loader module. I am trying to understand how the data being > generated and put into []byte specifically how the loader.payloads item being > ge

[go-nuts] Questions Regarding Go 1.15 Dwarf generation

2021-02-22 Thread m.hos...@gmail.com
Hi, I am experimenting with dwarf generation in Go1.15 at the moment and looking into new loader module. I am trying to understand how the data being generated and put into []byte specifically how the loader.payloads item being generated. I couldn't figure it out yet. There is a LoadFull functio