Home
last modified time | relevance | path

Searched refs:sec_index (Results 1 – 6 of 6) sorted by relevance

/third_party/elfutils/libdw/
Ddwarf_getmacros.c64 if (t1->sec_index < t2->sec_index) in macro_op_compare()
66 if (t1->sec_index > t2->sec_index) in macro_op_compare()
115 macinfo_table->sec_index = IDX_debug_macinfo; in init_macinfo_table()
135 table->sec_index = IDX_debug_macinfo; in get_macinfo_table()
257 .sec_index = IDX_debug_macro, in get_table_for_offset()
272 cache_op_table (Dwarf *dbg, int sec_index, Dwarf_Off macoff, in cache_op_table() argument
277 Dwarf_Macro_Op_Table fake = { .offset = macoff, .sec_index = sec_index }; in cache_op_table()
283 Dwarf_Macro_Op_Table *table = sec_index == IDX_debug_macro in cache_op_table()
302 read_macros (Dwarf *dbg, int sec_index, in read_macros() argument
307 Elf_Data *d = dbg->sectiondata[sec_index]; in read_macros()
[all …]
Ddwarf_ranges.c44 __libdw_read_begin_end_pair_inc (Dwarf_CU *cu, int sec_index, in __libdw_read_begin_end_pair_inc() argument
52 if (sec_index == IDX_debug_loc in __libdw_read_begin_end_pair_inc()
115 else if (sec_index == IDX_debug_ranges || sec_index == IDX_debug_loc) in __libdw_read_begin_end_pair_inc()
157 else if (sec_index == IDX_debug_rnglists) in __libdw_read_begin_end_pair_inc()
230 __libdw_read_address_inc (dbg, sec_index, &addr, width, &base); in __libdw_read_begin_end_pair_inc()
239 __libdw_read_address_inc (dbg, sec_index, &addr, width, &begin); in __libdw_read_begin_end_pair_inc()
240 __libdw_read_address_inc (dbg, sec_index, &addr, width, &end); in __libdw_read_begin_end_pair_inc()
250 __libdw_read_address_inc (dbg, sec_index, &addr, width, &begin); in __libdw_read_begin_end_pair_inc()
264 else if (sec_index == IDX_debug_loclists) in __libdw_read_begin_end_pair_inc()
343 __libdw_read_address_inc (dbg, sec_index, &addr, width, &base); in __libdw_read_begin_end_pair_inc()
[all …]
DlibdwP.h519 uint8_t sec_index; /* IDX_debug_macro or IDX_debug_macinfo. */ member
806 int sec_index)
827 int sec_index __attribute__ ((unused)), in __libdw_relocate_address() argument
837 int sec_index __attribute__ ((unused)), in __libdw_relocate_offset() argument
846 __libdw_checked_get_data (Dwarf *dbg, int sec_index) in __libdw_checked_get_data() argument
848 Elf_Data *data = dbg->sectiondata[sec_index]; in __libdw_checked_get_data()
859 __libdw_offset_in_section (Dwarf *dbg, int sec_index, in __libdw_offset_in_section() argument
862 Elf_Data *data = __libdw_checked_get_data (dbg, sec_index); in __libdw_offset_in_section()
877 __libdw_in_section (Dwarf *dbg, int sec_index, in __libdw_in_section() argument
880 Elf_Data *data = __libdw_checked_get_data (dbg, sec_index); in __libdw_in_section()
[all …]
Ddwarf_formudata.c38 __libdw_formptr (Dwarf_Attribute *attr, int sec_index, in __libdw_formptr() argument
45 const Elf_Data *d = attr->cu->dbg->sectiondata[sec_index]; in __libdw_formptr()
48 && sec_index == IDX_debug_ranges in __libdw_formptr()
98 sec_index, 0)) in __libdw_formptr()
113 &offset, sec_index, 0)) in __libdw_formptr()
Ddwarf_getlocation.c258 Dwarf_Op **llbuf, size_t *listlen, int sec_index) in __libdw_intern_expression() argument
349 else if (__libdw_read_address_inc (dbg, sec_index, &data, in __libdw_intern_expression()
357 if (dbg == NULL || __libdw_read_offset_inc (dbg, sec_index, &data, in __libdw_intern_expression()
535 if (dbg == NULL || __libdw_read_offset_inc (dbg, sec_index, &data, in __libdw_intern_expression()
665 Dwarf_Op **llbuf, size_t *listlen, int sec_index) in getlocation() argument
681 llbuf, listlen, sec_index); in getlocation()
/third_party/elfio/elfio/
Delfio_segment.hpp109 Elf_Half add_section_index( Elf_Half sec_index, in add_section_index() argument
112 sections.emplace_back( sec_index ); in add_section_index()