Home | History | Annotate | Download | only in dwarf

Lines Matching refs:hdr

65   struct dwarf_eh_frame_hdr hdr;
66 // Read the entire hdr since we are going to use every value in the struct.
67 if (sizeof(hdr) != elf_w (memory_read) (ei, ei->u.memory.start + phdr.p_offset,
68 (uint8_t*) &hdr, sizeof(hdr), false)) {
73 if (hdr.version != DW_EH_VERSION) {
74 Debug (1, "table has unexpected version %d\n", hdr.version);
91 if (dwarf_read_encoded_pointer (ei->u.memory.as, a, &addr, hdr.eh_frame_ptr_enc, &pi,
98 if (dwarf_read_encoded_pointer (ei->u.memory.as, a, &addr, hdr.fde_count_enc, &pi,
104 if (hdr.table_enc != (DW_EH_PE_datarel | DW_EH_PE_sdata4)) {
106 Debug(1, "Unsupported header table format %d\n", hdr.table_enc);
251 struct dwarf_eh_frame_hdr *hdr;
348 hdr = (struct dwarf_eh_frame_hdr *) (peh_hdr->p_offset
351 if (hdr->version != DW_EH_VERSION)
354 path, hdr->version);
360 addr = (unw_word_t) (uintptr_t) (hdr + 1);
371 &addr, hdr->eh_frame_ptr_enc, &pi,
376 &addr, hdr->fde_count_enc, &pi,
380 if (hdr->table_enc != (DW_EH_PE_datarel | DW_EH_PE_sdata4))
390 if (hdr->table_enc == DW_EH_PE_omit)
394 hdr->table_enc);
398 if (hdr->fde_count_enc == DW_EH_PE_omit)
400 if (hdr->eh_frame_ptr_enc == DW_EH_PE_omit)
427 + ((uintptr_t) hdr - (uintptr_t) ei->u.mapped.image