diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-06-23 17:48:10 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-06-23 17:48:10 -0600 |
commit | a9df6bdef485a185a0911d103e7a456c2f22c16a (patch) | |
tree | b15080ab0af6a222f7e9d70ccb67e0bdd48df61a /gcc/system.h | |
parent | eb647daa87b466d0a71246fad302cd81bfce9be5 (diff) | |
download | gcc-a9df6bdef485a185a0911d103e7a456c2f22c16a.zip gcc-a9df6bdef485a185a0911d103e7a456c2f22c16a.tar.gz gcc-a9df6bdef485a185a0911d103e7a456c2f22c16a.tar.bz2 |
[PATCH 01/11] Output CodeView data about variables
Parse the DW_TAG_variable DIEs, and outputs S_GDATA32 (for global variables)
and S_LDATA32 (static global variables) symbols into the .debug$S section.
gcc/
* dwarf2codeview.cc (S_LDATA32, S_GDATA32): Define.
(struct codeview_symbol): New structure.
(sym, last_sym): New variables.
(write_data_symbol): New function.
(write_codeview_symbols): Call write_data_symbol.
(add_variable, codeview_debug_early_finish): New functions.
* dwarf2codeview.h (codeview_debug_early_finish): Prototype.
* dwarf2out.cc
(dwarf2out_early_finish): Call codeview_debug_early_finish.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions