Lines Matching refs:fde
73 struct dwarf_fde *fde = malloc (sizeof (struct dwarf_fde)); in intern_fde() local
74 if (fde == NULL) in intern_fde()
80 fde->instructions = entry->start; in intern_fde()
81 fde->instructions_end = entry->end; in intern_fde()
83 &fde->instructions, &fde->start)) in intern_fde()
85 &fde->instructions, &fde->end))) in intern_fde()
87 free (fde); in intern_fde()
91 fde->end += fde->start; in intern_fde()
94 if (fde->start >= fde->end) in intern_fde()
96 free (fde); in intern_fde()
100 fde->cie = cie; in intern_fde()
107 get_uleb128 (len, fde->instructions, fde->instructions_end); in intern_fde()
108 if ((Dwarf_Word) (fde->instructions_end - fde->instructions) < len) in intern_fde()
110 free (fde); in intern_fde()
114 fde->instructions += len; in intern_fde()
119 fde->instructions += cie->fde_augmentation_data_size; in intern_fde()
122 struct dwarf_fde **tres = tsearch (fde, &cache->fde_tree, &compare_fde); in intern_fde()
125 free (fde); in intern_fde()
129 else if (*tres != fde) in intern_fde()
134 free (fde); in intern_fde()
138 return fde; in intern_fde()
162 struct dwarf_fde *fde = intern_fde (cache, &entry.fde); in __libdw_fde_by_offset() local
163 if (fde == (void *) -1l || fde == NULL) in __libdw_fde_by_offset()
170 return fde; in __libdw_fde_by_offset()
217 Dwarf_Addr fde; in binary_search_fde() local
220 &fde))) in binary_search_fde()
238 return fde - cache->frame_vaddr; in binary_search_fde()
262 struct dwarf_fde *fde = __libdw_fde_by_offset (cache, offset); in __libdw_find_fde() local
263 if (likely (fde != NULL)) in __libdw_find_fde()
266 if (unlikely (address < fde->start)) in __libdw_find_fde()
272 if (unlikely (address >= fde->end)) in __libdw_find_fde()
275 return fde; in __libdw_find_fde()
307 struct dwarf_fde *fde = intern_fde (cache, &entry.fde); in __libdw_find_fde() local
309 if (fde == (void *) -1l) /* Bad FDE, but we can keep looking. */ in __libdw_find_fde()
312 if (fde == NULL) /* Bad data. */ in __libdw_find_fde()
316 if (fde->start <= address && fde->end > address) in __libdw_find_fde()
317 return fde; in __libdw_find_fde()