Lines Matching full:dwarf

59   /* Free split dwarf one way (from skeleton to split).  */  in cu_free()
72 dwarf_end (Dwarf *dwarf) in dwarf_end() argument
74 if (dwarf != NULL) in dwarf_end()
76 if (dwarf->cfi != NULL) in dwarf_end()
78 __libdw_destroy_frame_cache (dwarf->cfi); in dwarf_end()
80 Dwarf_Sig8_Hash_free (&dwarf->sig8_hash); in dwarf_end()
85 tdestroy (dwarf->cu_tree, cu_free); in dwarf_end()
86 tdestroy (dwarf->tu_tree, cu_free); in dwarf_end()
89 tdestroy (dwarf->macro_ops, noop_free); in dwarf_end()
92 tdestroy (dwarf->files_lines, noop_free); in dwarf_end()
94 /* And the split Dwarf. */ in dwarf_end()
95 tdestroy (dwarf->split_tree, noop_free); in dwarf_end()
97 struct libdw_memblock *memp = dwarf->mem_tail; in dwarf_end()
98 /* The first block is allocated together with the Dwarf object. */ in dwarf_end()
107 free (dwarf->pubnames_sets); in dwarf_end()
110 if (dwarf->free_elf) in dwarf_end()
111 elf_end (dwarf->elf); in dwarf_end()
114 if (dwarf->fake_loc_cu != NULL) in dwarf_end()
116 cu_free (dwarf->fake_loc_cu); in dwarf_end()
117 free (dwarf->fake_loc_cu); in dwarf_end()
119 if (dwarf->fake_loclists_cu != NULL) in dwarf_end()
121 cu_free (dwarf->fake_loclists_cu); in dwarf_end()
122 free (dwarf->fake_loclists_cu); in dwarf_end()
124 if (dwarf->fake_addr_cu != NULL) in dwarf_end()
126 cu_free (dwarf->fake_addr_cu); in dwarf_end()
127 free (dwarf->fake_addr_cu); in dwarf_end()
130 /* Did we find and allocate the alt Dwarf ourselves? */ in dwarf_end()
131 if (dwarf->alt_fd != -1) in dwarf_end()
133 INTUSE(dwarf_end) (dwarf->alt_dwarf); in dwarf_end()
134 close (dwarf->alt_fd); in dwarf_end()
137 /* The cached dir we found the Dwarf ELF file in. */ in dwarf_end()
138 free (dwarf->debugdir); in dwarf_end()
141 free (dwarf); in dwarf_end()