Home
last modified time | relevance | path

Searched full:debug_aranges (Results 1 – 25 of 109) sorted by relevance

12345

/llvm-project/lldb/unittests/SymbolFile/DWARF/
H A DSymbolFileDWARFTests.cpp73 // 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 Ddebug-aranges.yaml1 ## 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 Ddebug-aranges.yaml1 ## 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 DDWARFCompileUnit.cpp34 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 DDWARFDebugArangeSet.cpp
H A DDWARFDebugInfo.cpp45 // 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 Dasm-func-debug.test1 # 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 Dasm-func-debug.test1 ## 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 DDWARF-debug_aranges.yaml1 ## 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 Dgen-dwarf.s12 // 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 Ddebug_aranges-error.s5 ## This checks that llvm-dwarfdump shows parsing errors in .debug_aranges.
10 .section .debug_aranges,"",@progbits
/llvm-project/llvm/test/DebugInfo/X86/
H A Ddbg-asm.s17 # CHECK-COFF: Section {{.*}} .debug_aranges {
27 # CHECK-ELF: Section {{.*}} .rel.debug_aranges {
H A Ddebug-aranges-dwarf64.ll1 ; This checks that .debug_aranges can be generated in the DWARF64 format.
6 ; CHECK: .debug_aranges contents:
H A Darange.ll18 ; Check that we have a relocation back to the debug_info section from the debug_aranges section
19 ; OBJ: debug_aranges
H A Ddwarfdump-debug-aranges.s5 .section .debug_aranges,"",@progbits
6 # CHECK: .debug_aranges contents:
H A Dfission-no-inline-aranges.ll4 ; 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 Dfission-inline-aranges.ll4 ; 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 Delf-debug-section.s10 .section .debug_aranges,"",@progbits
25 # CHECK: Name: .debug_aranges
/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/
H A Ddebug_aranges-empty-section.s1 # 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 Ddwarf-asm-nonstandard-section.s30 // DWARF: .debug_aranges contents:
55 // RELOC: RELOCATION RECORDS FOR [.debug_aranges]:
H A Ddwarf-asm-single-section.s31 // DWARF: .debug_aranges contents:
54 // RELOC: RELOCATION RECORDS FOR [.debug_aranges]:
H A Ddwarf-asm-multiple-sections-dwarf-2.s36 // DWARF: .debug_aranges contents:
63 // RELOC: RELOCATION RECORDS FOR [.debug_aranges]:
/llvm-project/lldb/test/Shell/ObjectFile/ELF/
H A Dbuild-id-case.yaml9 # CHECK: Name: .debug_aranges
53 - Name: .debug_aranges
/llvm-project/llvm/test/CodeGen/X86/
H A Ddwarf-aranges-zero-size.ll1 ; 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 Ddebug-aranges.yaml21 # ARANGES-NEXT: debug_aranges:
69 debug_aranges:

12345