Re: [PATCH 1/3] Write CodeView information about local static variables

2024-08-16 Thread Mark Harmstone
Thanks Jeff. No, CodeView is effectively Windows-specific - it relies on PE for reporting the PDB filename, and COFF for the .secidx relocation. I might look into moving these bits into the config once I get down to plumbing it for aarch64-w64-mingw32. Mark On 14/08/2024 05:09, Jeff Law wrote

Re: [PATCH 1/3] Write CodeView information about local static variables

2024-08-13 Thread Jeff Law
On 8/12/24 6:24 PM, Mark Harmstone wrote: Outputs CodeView S_LDATA32 symbols, for static variables within functions, along with S_BLOCK32 and S_END for the beginning and end of lexical blocks. gcc/ * dwarf2codeview.cc (enum cv_sym_type): Add S_END and S_BLOCK32. (write_local_s

[PATCH 1/3] Write CodeView information about local static variables

2024-08-12 Thread Mark Harmstone
Outputs CodeView S_LDATA32 symbols, for static variables within functions, along with S_BLOCK32 and S_END for the beginning and end of lexical blocks. gcc/ * dwarf2codeview.cc (enum cv_sym_type): Add S_END and S_BLOCK32. (write_local_s_ldata32): New function. (write_unoptim