diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-11-07 03:59:18 +0000 |
---|---|---|
committer | Mark Harmstone <mark@harmstone.com> | 2024-12-01 15:52:28 +0000 |
commit | 75fe4e2932136c3814e7ba9a2620d395d8f18133 (patch) | |
tree | bf2cb7d2b9af07de196183c7adc5e7159062493d /gcc/tree-ssa-phiopt.cc | |
parent | 7151aa12d659fc095687a22688dd0307ebb4845d (diff) | |
download | gcc-75fe4e2932136c3814e7ba9a2620d395d8f18133.zip gcc-75fe4e2932136c3814e7ba9a2620d395d8f18133.tar.gz gcc-75fe4e2932136c3814e7ba9a2620d395d8f18133.tar.bz2 |
Write binary annotations for CodeView S_INLINESITE symbols
Add "binary annotations" at the end of CodeView S_INLINESITE symbols,
which are a series of compressed integers that represent how line
numbers map to addresses.
This requires assembler support; you will need commit b3aa594d ("gas:
add .cv_ucomp and .cv_scomp pseudo-directives") in binutils.
gcc/
* configure.ac (HAVE_GAS_CV_UCOMP): New check.
* configure: Regenerate.
* config.in: Regenerate.
* dwarf2codeview.cc (enum binary_annotation_opcode): Define.
(struct codeview_function): Add htab_next and inline_loc;
(struct cv_func_hasher): Define.
(cv_func_htab): New global variable.
(new_codeview_function): Add new codeview_function to hash table.
(codeview_begin_block): Record location of inline block.
(codeview_end_block): Add dummy source line at end of inline block.
(find_line_function): New function.
(write_binary_annotations): New function.
(write_s_inlinesite): Call write_binary_annotations.
(codeview_debug_finish): Delete cv_func_htab.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions