/llvm-project/lldb/unittests/SymbolFile/DWARF/ |
H A D | SymbolFileDWARFTests.cpp | 73 // This `.debug_aranges` table header is a valid 32bit big-endian section in TEST_F() 98 DWARFDebugArangeSet debug_aranges; in TEST_F() 100 llvm::Error error = debug_aranges.extract(data, &off); in TEST_F() 109 // This .debug_aranges set has multiple terminator entries which appear in in TEST_F() 140 DWARFDebugAranges debug_aranges; in TEST_F() 141 debug_aranges.extract(data); in TEST_F() 143 ASSERT_EQ(debug_aranges.GetNumRanges(), 2U); in TEST_F() 144 EXPECT_EQ(debug_aranges.FindAddress(0x0fff), DW_INVALID_OFFSET); in TEST_F() 145 EXPECT_EQ(debug_aranges.FindAddress(0x1000), 255u); in TEST_F() 146 EXPECT_EQ(debug_aranges in TEST_F() 97 DWARFDebugArangeSet debug_aranges; TEST_F() local 221 DWARFDebugAranges debug_aranges; TEST_F() local 276 DWARFDebugAranges debug_aranges; TEST_F() local [all...] |
/llvm-project/llvm/test/tools/yaml2obj/ELF/DWARF/ |
H A D | debug-aranges.yaml | 1 ## Test that yaml2obj emits .debug_aranges section. 3 ## a) Generate the .debug_aranges section from the "DWARF" entry. 5 ## Generate and verify a big endian DWARF32 .debug_aranges section. 12 # DWARF-HEADER-NEXT: Name: .debug_aranges (1) 70 debug_aranges: 92 ## Generate and verify a little endian DWARF32 .debug_aranges section. 139 ## Generate and verify a big endian DWARF64 .debug_aranges section. 194 ## Generate and verify a little endian DWARF64 .debug_aranges section. 249 ## b) Generate the .debug_aranges section from raw section content. 265 - Name: .debug_aranges [all …]
|
/llvm-project/llvm/test/tools/obj2yaml/ELF/DWARF/ |
H A D | debug-aranges.yaml | 1 ## Test how we dump the .debug_aranges section. 4 ## The .debug_aranges should be written to the 'DWARF' entry and the 'Sections' entry should remain… 27 # BASIC-NEXT: debug_aranges: 55 debug_aranges: 72 ## b) Test dumping an .debug_aranges section whose section header properties are overridden. 82 # SHDR: - Name: .debug_aranges 92 # ARANGE-NEXT: debug_aranges: 105 - Name: .debug_aranges 116 debug_aranges: 120 ## c) Test dumping a .debug_aranges section whose address_size doesn't match the [all …]
|
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFCompileUnit.cpp | 34 DWARFDebugAranges *debug_aranges) { in BuildAddressRangeTable() 35 // This function is usually called if there in no .debug_aranges section in in BuildAddressRangeTable() 39 size_t num_debug_aranges = debug_aranges->GetNumRanges(); in BuildAddressRangeTable() 50 debug_aranges->AppendRange(cu_offset, range.LowPC, range.HighPC); in BuildAddressRangeTable() 59 if (debug_aranges->GetNumRanges() == num_debug_aranges) { in BuildAddressRangeTable() 73 debug_map_sym_file->AddOSOARanges(&m_dwarf, debug_aranges); in BuildAddressRangeTable() 78 if (debug_aranges->GetNumRanges() == num_debug_aranges) { in BuildAddressRangeTable() 92 debug_aranges->AppendRange(GetOffset(), range.GetRangeBase(), in BuildAddressRangeTable() 32 BuildAddressRangeTable(DWARFDebugAranges * debug_aranges) BuildAddressRangeTable() argument
|
H A D | DWARFDebugArangeSet.cpp |
|
H A D | DWARFDebugInfo.cpp | 45 // Extract what we can from the .debug_aranges first. in GetCompileUnitAranges() 48 // Make a list of all CUs represented by the .debug_aranges data. in GetCompileUnitAranges() 56 // Manually build arange data for everything that wasn't in .debug_aranges. in GetCompileUnitAranges() 57 // The .debug_aranges accelerator is not guaranteed to be complete. in GetCompileUnitAranges()
|
/llvm-project/bolt/test/AArch64/ |
H A D | asm-func-debug.test | 1 # Verify that we update DW_TAG_compile_unit' ranges and .debug_aranges 19 # Check .debug_aranges was updated for asm module 20 CHECK: .debug_aranges contents:
|
/llvm-project/bolt/test/X86/ |
H A D | asm-func-debug.test | 1 ## Verify that we update DW_TAG_compile_unit' ranges and .debug_aranges 19 ## Check .debug_aranges was updated for asm module 20 CHECK: .debug_aranges contents:
|
/llvm-project/llvm/test/ObjectYAML/MachO/ |
H A D | DWARF-debug_aranges.yaml | 1 ## a) Test that yaml2macho is able to emit the .debug_aranges section and obj2yaml 318 debug_aranges: 329 # CHECK: debug_aranges: 338 ## b) Test that if the "debug_aranges" entry is empty, yaml2macho will only emit the 398 debug_aranges: []
|
/llvm-project/llvm/test/MC/ELF/ |
H A D | gen-dwarf.s | 12 // 2. the debug_aranges has relocations to text and debug_line. 28 // CHECK-NEXT: Section ({{[^ ]+}}) .rel.debug_aranges { 34 // First instance of the section is just to give it a label for debug_aranges to refer to
|
/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/ |
H A D | debug_aranges-error.s | 5 ## This checks that llvm-dwarfdump shows parsing errors in .debug_aranges. 10 .section .debug_aranges,"",@progbits
|
/llvm-project/llvm/test/DebugInfo/X86/ |
H A D | dbg-asm.s | 17 # CHECK-COFF: Section {{.*}} .debug_aranges { 27 # CHECK-ELF: Section {{.*}} .rel.debug_aranges {
|
H A D | debug-aranges-dwarf64.ll | 1 ; This checks that .debug_aranges can be generated in the DWARF64 format. 6 ; CHECK: .debug_aranges contents:
|
H A D | arange.ll | 18 ; Check that we have a relocation back to the debug_info section from the debug_aranges section 19 ; OBJ: debug_aranges
|
H A D | dwarfdump-debug-aranges.s | 5 .section .debug_aranges,"",@progbits 6 # CHECK: .debug_aranges contents:
|
H A D | fission-no-inline-aranges.ll | 4 ; Test that only one entry is emmitted in .debug_aranges per CU. 15 ; Check that we emit only one entry in .debug_aranges
|
H A D | fission-inline-aranges.ll | 4 ; Test that only one entry is emmitted in .debug_aranges per CU. 15 ; Check that we emit only one entry in .debug_aranges
|
/llvm-project/llvm/test/MC/Mips/ |
H A D | elf-debug-section.s | 10 .section .debug_aranges,"",@progbits 25 # CHECK: Name: .debug_aranges
|
/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/ |
H A D | debug_aranges-empty-section.s | 1 # Test that an empty .debug_aranges section doesn't confuse (or crash) us. 63 .section .debug_aranges,"",@progbits
|
/llvm-project/llvm/test/MC/ARM/ |
H A D | dwarf-asm-nonstandard-section.s | 30 // DWARF: .debug_aranges contents: 55 // RELOC: RELOCATION RECORDS FOR [.debug_aranges]:
|
H A D | dwarf-asm-single-section.s | 31 // DWARF: .debug_aranges contents: 54 // RELOC: RELOCATION RECORDS FOR [.debug_aranges]:
|
H A D | dwarf-asm-multiple-sections-dwarf-2.s | 36 // DWARF: .debug_aranges contents: 63 // RELOC: RELOCATION RECORDS FOR [.debug_aranges]:
|
/llvm-project/lldb/test/Shell/ObjectFile/ELF/ |
H A D | build-id-case.yaml | 9 # CHECK: Name: .debug_aranges 53 - Name: .debug_aranges
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | dwarf-aranges-zero-size.ll | 1 ; Ensures that the AsmPrinter rounds up zero-sized symbols in `.debug_aranges` to one byte. 12 ; CHECK: .section .debug_aranges
|
/llvm-project/llvm/test/tools/obj2yaml/MachO/ |
H A D | debug-aranges.yaml | 21 # ARANGES-NEXT: debug_aranges: 69 debug_aranges:
|