Source view entries
For each additional source view (for example, Assembly
View), there is one
DW_TAG_IBM_src_view DIE. The
parent of this DIE is the CU DIE. It has the following attributes:- A
DW_AT_nameattribute, whose value is a null-terminated string containing the name of the source view. - A
DW_AT_stmt_listattribute, whose value is a section offset to the line number information for this source view. - A
DW_AT_IBM_src_fileattribute, whose value is a DIE section offset to the.debug_srcfilessection. The referenced source file DIE (DW_TAG_IBM_src_fileorDW_TAG_IBM_src_filelist) contains information about the source file(s) referenced within the line number program.
.debug_info
$1: DW_TAG_compile_unit
DW_AT_stmt_list (...)
DW_AT_IBM_src_file (...)
DW_AT_low_pc (...)
DW_AT_high_pc (...)
$2: DW_TAG_IBM_src_view
DW_AT_name (Assembly View)
DW_AT_stmt_list (...)
DW_AT_IBM_src_file ($5)
.debug_srcfiles
$5: DW_TAG_IBM_src_file
DW_AT_name (Assembly View)
DW_AT_IBM_src_type (DW_SFT_compiler_generated)
DW_AT_IBM_src_text (...)
DW_AT_IBM_md5 (0123456789abcdef0123456789abcdef)
DW_AT_IBM_src_attr (...)