aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcc2.h
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2024-11-19 00:55:25 +0000
committerMark Harmstone <mark@harmstone.com>2024-11-30 14:53:42 +0000
commit65b5c4afcfd439e7897b88f6c27d4a33a4c9c124 (patch)
tree9b88975dd089ecff279bfc7a2a1ad47cdb623ff7 /libgcc/libgcc2.h
parente908efbf2061c0ad46caed47a54222e894ac2d29 (diff)
downloadgcc-65b5c4afcfd439e7897b88f6c27d4a33a4c9c124.zip
gcc-65b5c4afcfd439e7897b88f6c27d4a33a4c9c124.tar.gz
gcc-65b5c4afcfd439e7897b88f6c27d4a33a4c9c124.tar.bz2
Write S_INLINEELINES CodeView subsection
When outputting the .debug$S CodeView section, also write an S_INLINEELINES subsection, which records the filename and line number of the start of each inlined function. gcc/ * dwarf2codeview.cc (DEBUG_S_INLINEELINES): Define. (CV_INLINEE_SOURCE_LINE_SIGNATURE): Define. (struct codeview_inlinee_lines): Define. (struct inlinee_lines_hasher): Define. (func_htab, inlinee_lines_htab): New global variables. (get_file_id): New function. (codeview_source_line): Move file_id logic to get_file_id. (write_inlinee_lines_entry): New function. (write_inlinee_lines): New function. (codeview_debug_finish): Call write_inlinee_lines, and free func_htab and inlinee_lines_htab. (get_func_id): New function. (add_function): Move func_id logic to get_func_id. (codeview_abstract_function): New function. * dwarf2codeview.h (codeview_abstract_function): Add declaration. * dwarf2out.cc (dwarf2out_abstract_function): Call codeview_abstract_function if outputting CodeView debug info.
Diffstat (limited to 'libgcc/libgcc2.h')
0 files changed, 0 insertions, 0 deletions