Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
Show First 20 Lines • Show All 1,408 Lines • ▼ Show 20 Lines | TEST(GSYMTest, TestDWARFFunctionWithAddresses) { | ||||
// converted to DWARF correctly. The function's address range is in where | // converted to DWARF correctly. The function's address range is in where | ||||
// DW_AT_low_pc and DW_AT_high_pc are both addresses. | // DW_AT_low_pc and DW_AT_high_pc are both addresses. | ||||
StringRef yamldata = R"( | StringRef yamldata = R"( | ||||
debug_str: | debug_str: | ||||
- '' | - '' | ||||
- /tmp/main.c | - /tmp/main.c | ||||
- main | - main | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Code: 0x00000002 | - Code: 0x00000002 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
debug_info: | debug_info: | ||||
- Length: 52 | - Length: 52 | ||||
Version: 4 | Version: 4 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 8 | AddrSize: 8 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | TEST(GSYMTest, TestDWARFFunctionWithAddressAndOffset) { | ||||
// converted to DWARF correctly. The function's address range is in where | // converted to DWARF correctly. The function's address range is in where | ||||
// DW_AT_low_pc is an address and the DW_AT_high_pc is an offset. | // DW_AT_low_pc is an address and the DW_AT_high_pc is an offset. | ||||
StringRef yamldata = R"( | StringRef yamldata = R"( | ||||
debug_str: | debug_str: | ||||
- '' | - '' | ||||
- /tmp/main.c | - /tmp/main.c | ||||
- main | - main | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Code: 0x00000002 | - Code: 0x00000002 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
debug_info: | debug_info: | ||||
- Length: 44 | - Length: 44 | ||||
Version: 4 | Version: 4 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 8 | AddrSize: 8 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | TEST(GSYMTest, TestDWARFStructMethodNoMangled) { | ||||
StringRef yamldata = R"( | StringRef yamldata = R"( | ||||
debug_str: | debug_str: | ||||
- '' | - '' | ||||
- /tmp/main.c | - /tmp/main.c | ||||
- Foo | - Foo | ||||
- dump | - dump | ||||
- this | - this | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Code: 0x00000002 | - Code: 0x00000002 | ||||
Tag: DW_TAG_structure_type | Tag: DW_TAG_structure_type | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Code: 0x00000003 | - Code: 0x00000003 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Code: 0x00000004 | - Code: 0x00000004 | ||||
Tag: DW_TAG_formal_parameter | Tag: DW_TAG_formal_parameter | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_type | - Attribute: DW_AT_type | ||||
Form: DW_FORM_ref4 | Form: DW_FORM_ref4 | ||||
- Attribute: DW_AT_artificial | - Attribute: DW_AT_artificial | ||||
Form: DW_FORM_flag_present | Form: DW_FORM_flag_present | ||||
debug_info: | debug_info: | ||||
- Length: 68 | - Length: 68 | ||||
Version: 4 | Version: 4 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 8 | AddrSize: 8 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
▲ Show 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | TEST(GSYMTest, TestDWARFTextRanges) { | ||||
StringRef yamldata = R"( | StringRef yamldata = R"( | ||||
debug_str: | debug_str: | ||||
- '' | - '' | ||||
- /tmp/main.c | - /tmp/main.c | ||||
- main | - main | ||||
- dead_stripped | - dead_stripped | ||||
- dead_stripped2 | - dead_stripped2 | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Code: 0x00000002 | - Code: 0x00000002 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
debug_info: | debug_info: | ||||
- Length: 78 | - Length: 78 | ||||
Version: 4 | Version: 4 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 8 | AddrSize: 8 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
▲ Show 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | TEST(GSYMTest, TestDWARFInlineInfo) { | ||||
// DWARF. | // DWARF. | ||||
StringRef yamldata = R"( | StringRef yamldata = R"( | ||||
debug_str: | debug_str: | ||||
- '' | - '' | ||||
- /tmp/main.c | - /tmp/main.c | ||||
- main | - main | ||||
- inline1 | - inline1 | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Attribute: DW_AT_stmt_list | - Attribute: DW_AT_stmt_list | ||||
Form: DW_FORM_sec_offset | Form: DW_FORM_sec_offset | ||||
- Code: 0x00000002 | - Code: 0x00000002 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Code: 0x00000003 | - Code: 0x00000003 | ||||
Tag: DW_TAG_inlined_subroutine | Tag: DW_TAG_inlined_subroutine | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_call_file | - Attribute: DW_AT_call_file | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_call_line | - Attribute: DW_AT_call_line | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
debug_info: | debug_info: | ||||
- Length: 74 | - Length: 74 | ||||
Version: 4 | Version: 4 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 8 | AddrSize: 8 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
▲ Show 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | TEST(GSYMTest, TestDWARFNoLines) { | ||||
debug_str: | debug_str: | ||||
- '' | - '' | ||||
- '/tmp/main.c' | - '/tmp/main.c' | ||||
- lines_no_decl | - lines_no_decl | ||||
- lines_with_decl | - lines_with_decl | ||||
- no_lines_no_decl | - no_lines_no_decl | ||||
- no_lines_with_decl | - no_lines_with_decl | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Attribute: DW_AT_stmt_list | - Attribute: DW_AT_stmt_list | ||||
Form: DW_FORM_sec_offset | Form: DW_FORM_sec_offset | ||||
- Code: 0x00000002 | - Code: 0x00000002 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Code: 0x00000003 | - Code: 0x00000003 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_decl_file | - Attribute: DW_AT_decl_file | ||||
Form: DW_FORM_data1 | Form: DW_FORM_data1 | ||||
- Attribute: DW_AT_decl_line | - Attribute: DW_AT_decl_line | ||||
Form: DW_FORM_data1 | Form: DW_FORM_data1 | ||||
debug_info: | debug_info: | ||||
- Length: 103 | - Length: 103 | ||||
Version: 4 | Version: 4 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 8 | AddrSize: 8 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
▲ Show 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | TEST(GSYMTest, TestDWARFDeadStripAddr4) { | ||||
// | // | ||||
// 0x00000041: DW_TAG_subprogram | // 0x00000041: DW_TAG_subprogram | ||||
// DW_AT_name ("stripped3") | // DW_AT_name ("stripped3") | ||||
// DW_AT_low_pc (0x0000000000004000) | // DW_AT_low_pc (0x0000000000004000) | ||||
// DW_AT_high_pc (0x0000000000003fff) | // DW_AT_high_pc (0x0000000000003fff) | ||||
// | // | ||||
// 0x0000004e: NULL | // 0x0000004e: NULL | ||||
StringRef yamldata = R"( | StringRef yamldata = R"( | ||||
debug_str: | debug_str: | ||||
- '' | - '' | ||||
- '/tmp/main.c' | - '/tmp/main.c' | ||||
- main | - main | ||||
- stripped1 | - stripped1 | ||||
- stripped2 | - stripped2 | ||||
- stripped3 | - stripped3 | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Code: 0x00000002 | - Code: 0x00000002 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Code: 0x00000003 | - Code: 0x00000003 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
debug_info: | debug_info: | ||||
- Length: 75 | - Length: 75 | ||||
Version: 4 | Version: 4 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 4 | AddrSize: 4 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
▲ Show 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | TEST(GSYMTest, TestDWARFDeadStripAddr8) { | ||||
debug_str: | debug_str: | ||||
- '' | - '' | ||||
- '/tmp/main.c' | - '/tmp/main.c' | ||||
- main | - main | ||||
- stripped1 | - stripped1 | ||||
- stripped2 | - stripped2 | ||||
- stripped3 | - stripped3 | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_yes | Children: DW_CHILDREN_yes | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Code: 0x00000002 | - Code: 0x00000002 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_data4 | Form: DW_FORM_data4 | ||||
- Code: 0x00000003 | - Code: 0x00000003 | ||||
Tag: DW_TAG_subprogram | Tag: DW_TAG_subprogram | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_name | - Attribute: DW_AT_name | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
- Attribute: DW_AT_low_pc | - Attribute: DW_AT_low_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
- Attribute: DW_AT_high_pc | - Attribute: DW_AT_high_pc | ||||
Form: DW_FORM_addr | Form: DW_FORM_addr | ||||
debug_info: | debug_info: | ||||
- Length: 103 | - Length: 103 | ||||
Version: 4 | Version: 4 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 8 | AddrSize: 8 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |