diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-05-11 08:15:43 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-05-11 08:15:43 -0600 |
commit | ed6690a0ca911138abd4d707510fd03ef188a28b (patch) | |
tree | 468ce8c7bb76ff29b4fb43267738fad2047846b4 /gcc/fortran | |
parent | 36781ef8fd26eb9a0686957e7bac8f5ccc5ecc3f (diff) | |
download | gcc-ed6690a0ca911138abd4d707510fd03ef188a28b.zip gcc-ed6690a0ca911138abd4d707510fd03ef188a28b.tar.gz gcc-ed6690a0ca911138abd4d707510fd03ef188a28b.tar.bz2 |
[PATCH v2 2/4] Output file checksums in CodeView section
Outputs the file name and MD5 hash of the main source file into the
CodeView .debug$S section, along with that of any #include'd files.
gcc/
* dwarf2codeview.cc (DEBUG_S_STRINGTABLE): Define.
(DEBUG_S_FILECHKSMS, CHKSUM_TYPE_MD5, HASH_SIZE): Likewise.
(codeview_string, codeview_source_file): New structures.
(struct string_hasher): New class for codeview_string hashing.
(files, last_file, num_files, string_offset): New variables.
(strings_hstab, strings, last_string): Likewise.
(add_string, codevie_start_source_file): New functions.
(write_strings_tabe, write_soruce_files): Likewise.
(codeview_debug_finish): Call new functions.
* dwarf2codeview.h (codeview_start_source_file): Prototype.
* dwarf2out.cc (dwarf2out_start_source_file): Handle codeview.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions