/external/libunwind/src/aarch64/ |
D | init.h | 33 c->dwarf.loc[UNW_AARCH64_X0] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X0); in common_init() 34 c->dwarf.loc[UNW_AARCH64_X1] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X1); in common_init() 35 c->dwarf.loc[UNW_AARCH64_X2] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X2); in common_init() 36 c->dwarf.loc[UNW_AARCH64_X3] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X3); in common_init() 37 c->dwarf.loc[UNW_AARCH64_X4] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X4); in common_init() 38 c->dwarf.loc[UNW_AARCH64_X5] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X5); in common_init() 39 c->dwarf.loc[UNW_AARCH64_X6] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X6); in common_init() 40 c->dwarf.loc[UNW_AARCH64_X7] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X7); in common_init() 41 c->dwarf.loc[UNW_AARCH64_X8] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X8); in common_init() 42 c->dwarf.loc[UNW_AARCH64_X9] = DWARF_REG_LOC (&c->dwarf, UNW_AARCH64_X9); in common_init() [all …]
|
D | Gstep.c | 35 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in unw_handle_signal_frame() 38 if ((ret = dwarf_get (&c->dwarf, sp_loc, &sp)) < 0) in unw_handle_signal_frame() 46 c->sigcontext_sp = c->dwarf.cfa; in unw_handle_signal_frame() 47 c->sigcontext_pc = c->dwarf.ip; in unw_handle_signal_frame() 62 c->dwarf.loc[UNW_AARCH64_X0] = DWARF_LOC (sc_addr + LINUX_SC_X0_OFF, 0); in unw_handle_signal_frame() 63 c->dwarf.loc[UNW_AARCH64_X1] = DWARF_LOC (sc_addr + LINUX_SC_X1_OFF, 0); in unw_handle_signal_frame() 64 c->dwarf.loc[UNW_AARCH64_X2] = DWARF_LOC (sc_addr + LINUX_SC_X2_OFF, 0); in unw_handle_signal_frame() 65 c->dwarf.loc[UNW_AARCH64_X3] = DWARF_LOC (sc_addr + LINUX_SC_X3_OFF, 0); in unw_handle_signal_frame() 66 c->dwarf.loc[UNW_AARCH64_X4] = DWARF_LOC (sc_addr + LINUX_SC_X4_OFF, 0); in unw_handle_signal_frame() 67 c->dwarf.loc[UNW_AARCH64_X5] = DWARF_LOC (sc_addr + LINUX_SC_X5_OFF, 0); in unw_handle_signal_frame() [all …]
|
/external/llvm/unittests/CodeGen/ |
D | DIEHashTest.cpp | 23 DIE Die(dwarf::DW_TAG_base_type); in TEST() 25 Die.addValue(dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, &Size); in TEST() 32 DIE Unnamed(dwarf::DW_TAG_structure_type); in TEST() 34 Unnamed.addValue(dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, &One); in TEST() 37 Unnamed.addValue(dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, &One); in TEST() 38 Unnamed.addValue(dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, &One); in TEST() 47 DIE Foo(dwarf::DW_TAG_structure_type); in TEST() 50 Foo.addValue(dwarf::DW_AT_name, dwarf::DW_FORM_strp, &FooStr); in TEST() 51 Foo.addValue(dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, &One); in TEST() 61 DIE CU(dwarf::DW_TAG_compile_unit); in TEST() [all …]
|
/external/libunwind/src/ppc64/ |
D | Gstep.c | 62 Debug (1, "(cursor=%p, ip=0x%016lx)\n", c, (unsigned long) c->dwarf.ip); in unw_step() 64 if (c->dwarf.ip == 0) in unw_step() 73 ret = dwarf_step (&c->dwarf); in unw_step() 98 back_chain_loc = DWARF_LOC (c->dwarf.cfa + back_chain_offset, 0); in unw_step() 101 dwarf_get (&c->dwarf, back_chain_loc, &c->dwarf.cfa)) < 0) in unw_step() 108 if (c->dwarf.cfa == 0) in unw_step() 113 lr_save_loc = DWARF_LOC (c->dwarf.cfa + lr_save_offset, 0); in unw_step() 115 if ((ret = dwarf_get (&c->dwarf, lr_save_loc, &c->dwarf.ip)) < 0) in unw_step() 136 unw_word_t ucontext = c->dwarf.cfa + __SIGNAL_FRAMESIZE; in unw_step() 146 ret = dwarf_get (&c->dwarf, sp_loc, &c->dwarf.cfa); in unw_step() [all …]
|
D | init.h | 37 c->dwarf.loc[i] = DWARF_REG_LOC (&c->dwarf, i); in common_init_ppc64() 40 c->dwarf.loc[i] = DWARF_FPREG_LOC (&c->dwarf, i); in common_init_ppc64() 43 c->dwarf.loc[i] = DWARF_VREG_LOC (&c->dwarf, i); in common_init_ppc64() 47 c->dwarf.loc[i] = DWARF_REG_LOC (&c->dwarf, i); in common_init_ppc64() 49 c->dwarf.loc[UNW_PPC64_ARG_POINTER] = DWARF_REG_LOC (&c->dwarf, UNW_PPC64_ARG_POINTER); in common_init_ppc64() 50 c->dwarf.loc[UNW_PPC64_CTR] = DWARF_REG_LOC (&c->dwarf, UNW_PPC64_CTR); in common_init_ppc64() 51 c->dwarf.loc[UNW_PPC64_VSCR] = DWARF_REG_LOC (&c->dwarf, UNW_PPC64_VSCR); in common_init_ppc64() 53 c->dwarf.loc[UNW_PPC64_XER] = DWARF_REG_LOC (&c->dwarf, UNW_PPC64_XER); in common_init_ppc64() 54 c->dwarf.loc[UNW_PPC64_LR] = DWARF_REG_LOC (&c->dwarf, UNW_PPC64_LR); in common_init_ppc64() 55 c->dwarf.loc[UNW_PPC64_VRSAVE] = DWARF_REG_LOC (&c->dwarf, UNW_PPC64_VRSAVE); in common_init_ppc64() [all …]
|
D | Gregs.c | 41 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg() 42 if (c->dwarf.pi_valid && (*valp < c->dwarf.pi.start_ip in tdep_access_reg() 43 || *valp >= c->dwarf.pi.end_ip)) in tdep_access_reg() 44 c->dwarf.pi_valid = 0; /* new IP outside of current proc */ in tdep_access_reg() 47 *valp = c->dwarf.ip; in tdep_access_reg() 53 *valp = c->dwarf.cfa; in tdep_access_reg() 66 loc = c->dwarf.loc[reg]; in tdep_access_reg() 69 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 71 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 82 loc = c->dwarf.loc[reg]; in tdep_access_fpreg() [all …]
|
/external/libunwind/src/sh/ |
D | init.h | 32 c->dwarf.loc[UNW_SH_R0] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R0); in common_init() 33 c->dwarf.loc[UNW_SH_R1] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R1); in common_init() 34 c->dwarf.loc[UNW_SH_R2] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R2); in common_init() 35 c->dwarf.loc[UNW_SH_R3] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R3); in common_init() 36 c->dwarf.loc[UNW_SH_R4] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R4); in common_init() 37 c->dwarf.loc[UNW_SH_R5] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R5); in common_init() 38 c->dwarf.loc[UNW_SH_R6] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R6); in common_init() 39 c->dwarf.loc[UNW_SH_R7] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R7); in common_init() 40 c->dwarf.loc[UNW_SH_R8] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R8); in common_init() 41 c->dwarf.loc[UNW_SH_R9] = DWARF_REG_LOC (&c->dwarf, UNW_SH_R9); in common_init() [all …]
|
D | Gstep.c | 35 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in unw_handle_signal_frame() 38 if ((ret = dwarf_get (&c->dwarf, sp_loc, &sp)) < 0) in unw_handle_signal_frame() 46 c->sigcontext_sp = c->dwarf.cfa; in unw_handle_signal_frame() 47 c->sigcontext_pc = c->dwarf.ip; in unw_handle_signal_frame() 69 c->dwarf.loc[UNW_SH_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in unw_handle_signal_frame() 70 c->dwarf.loc[UNW_SH_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in unw_handle_signal_frame() 71 c->dwarf.loc[UNW_SH_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in unw_handle_signal_frame() 72 c->dwarf.loc[UNW_SH_R3] = DWARF_LOC (sc_addr + LINUX_SC_R3_OFF, 0); in unw_handle_signal_frame() 73 c->dwarf.loc[UNW_SH_R4] = DWARF_LOC (sc_addr + LINUX_SC_R4_OFF, 0); in unw_handle_signal_frame() 74 c->dwarf.loc[UNW_SH_R5] = DWARF_LOC (sc_addr + LINUX_SC_R5_OFF, 0); in unw_handle_signal_frame() [all …]
|
/external/libunwind/src/arm/ |
D | init.h | 32 c->dwarf.loc[UNW_ARM_R0] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R0); in common_init() 33 c->dwarf.loc[UNW_ARM_R1] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R1); in common_init() 34 c->dwarf.loc[UNW_ARM_R2] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R2); in common_init() 35 c->dwarf.loc[UNW_ARM_R3] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R3); in common_init() 36 c->dwarf.loc[UNW_ARM_R4] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R4); in common_init() 37 c->dwarf.loc[UNW_ARM_R5] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R5); in common_init() 38 c->dwarf.loc[UNW_ARM_R6] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R6); in common_init() 39 c->dwarf.loc[UNW_ARM_R7] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R7); in common_init() 40 c->dwarf.loc[UNW_ARM_R8] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R8); in common_init() 41 c->dwarf.loc[UNW_ARM_R9] = DWARF_REG_LOC (&c->dwarf, UNW_ARM_R9); in common_init() [all …]
|
D | Gstep.c | 42 old_ip = c->dwarf.ip; in arm_exidx_step() 43 old_cfa = c->dwarf.cfa; in arm_exidx_step() 46 c->dwarf.loc[UNW_ARM_R15] = DWARF_NULL_LOC; in arm_exidx_step() 48 if ((ret = tdep_find_proc_info (&c->dwarf, c->dwarf.ip, 1)) < 0) in arm_exidx_step() 51 if (c->dwarf.pi.format != UNW_INFO_FORMAT_ARM_EXIDX) in arm_exidx_step() 54 ret = arm_exidx_extract (&c->dwarf, buf); in arm_exidx_step() 60 ret = arm_exidx_decode (buf, ret, &c->dwarf); in arm_exidx_step() 64 if (c->dwarf.ip == old_ip && c->dwarf.cfa == old_cfa) in arm_exidx_step() 67 __FUNCTION__, (long) c->dwarf.ip); in arm_exidx_step() 71 c->dwarf.pi_valid = 0; in arm_exidx_step() [all …]
|
/external/libunwind/src/x86/ |
D | init.h | 33 c->dwarf.loc[EAX] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EAX); in common_init() 34 c->dwarf.loc[ECX] = DWARF_REG_LOC (&c->dwarf, UNW_X86_ECX); in common_init() 35 c->dwarf.loc[EDX] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EDX); in common_init() 36 c->dwarf.loc[EBX] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EBX); in common_init() 37 c->dwarf.loc[ESP] = DWARF_REG_LOC (&c->dwarf, UNW_X86_ESP); in common_init() 38 c->dwarf.loc[EBP] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EBP); in common_init() 39 c->dwarf.loc[ESI] = DWARF_REG_LOC (&c->dwarf, UNW_X86_ESI); in common_init() 40 c->dwarf.loc[EDI] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EDI); in common_init() 41 c->dwarf.loc[EIP] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EIP); in common_init() 42 c->dwarf.loc[EFLAGS] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EFLAGS); in common_init() [all …]
|
D | Gstep.c | 35 Debug (1, "(cursor=%p, ip=0x%08x)\n", c, (unsigned) c->dwarf.ip); in unw_step() 40 unw_word_t old_ip = c->dwarf.ip; in unw_step() 41 unw_word_t old_cfa = c->dwarf.cfa; in unw_step() 45 ret = dwarf_step (&c->dwarf); in unw_step() 70 ret = dwarf_get (&c->dwarf, c->dwarf.loc[EBP], &c->dwarf.cfa); in unw_step() 77 Debug (13, "[EBP=0x%x] = 0x%x\n", DWARF_GET_LOC (c->dwarf.loc[EBP]), in unw_step() 78 c->dwarf.cfa); in unw_step() 80 ebp_loc = DWARF_LOC (c->dwarf.cfa, 0); in unw_step() 81 eip_loc = DWARF_LOC (c->dwarf.cfa + 4, 0); in unw_step() 82 c->dwarf.cfa += 8; in unw_step() [all …]
|
/external/libunwind/src/ppc32/ |
D | Gstep.c | 61 Debug (1, "(cursor=%p, ip=0x%016lx)\n", c, (unsigned long) c->dwarf.ip); in unw_step() 63 if (c->dwarf.ip == 0) in unw_step() 72 ret = dwarf_step (&c->dwarf); in unw_step() 97 back_chain_loc = DWARF_LOC (c->dwarf.cfa + back_chain_offset, 0); in unw_step() 100 dwarf_get (&c->dwarf, back_chain_loc, &c->dwarf.cfa)) < 0) in unw_step() 107 if (c->dwarf.cfa == 0) in unw_step() 112 lr_save_loc = DWARF_LOC (c->dwarf.cfa + lr_save_offset, 0); in unw_step() 114 if ((ret = dwarf_get (&c->dwarf, lr_save_loc, &c->dwarf.ip)) < 0) in unw_step() 135 unw_word_t ucontext = c->dwarf.cfa + __SIGNAL_FRAMESIZE; in unw_step() 145 ret = dwarf_get (&c->dwarf, sp_loc, &c->dwarf.cfa); in unw_step() [all …]
|
D | init.h | 39 c->dwarf.loc[i] = DWARF_REG_LOC (&c->dwarf, i); in common_init_ppc32() 42 c->dwarf.loc[i] = DWARF_FPREG_LOC (&c->dwarf, i); in common_init_ppc32() 45 c->dwarf.loc[UNW_PPC32_CTR] = DWARF_REG_LOC (&c->dwarf, UNW_PPC32_CTR); in common_init_ppc32() 46 c->dwarf.loc[UNW_PPC32_XER] = DWARF_REG_LOC (&c->dwarf, UNW_PPC32_XER); in common_init_ppc32() 47 c->dwarf.loc[UNW_PPC32_CCR] = DWARF_REG_LOC (&c->dwarf, UNW_PPC32_CCR); in common_init_ppc32() 48 c->dwarf.loc[UNW_PPC32_LR] = DWARF_REG_LOC (&c->dwarf, UNW_PPC32_LR); in common_init_ppc32() 49 c->dwarf.loc[UNW_PPC32_FPSCR] = DWARF_REG_LOC (&c->dwarf, UNW_PPC32_FPSCR); in common_init_ppc32() 51 ret = dwarf_get (&c->dwarf, c->dwarf.loc[UNW_PPC32_LR], &c->dwarf.ip); in common_init_ppc32() 55 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_PPC32_R1), in common_init_ppc32() 56 &c->dwarf.cfa); in common_init_ppc32() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DIE.cpp | 63 AP->EmitULEB128(Tag, dwarf::TagString(Tag)); in Emit() 66 AP->EmitULEB128((unsigned)Children, dwarf::ChildrenString(Children)); in Emit() 74 dwarf::AttributeString(AttrData.getAttribute())); in Emit() 78 dwarf::FormEncodingString(AttrData.getForm())); in Emit() 91 << dwarf::TagString(Tag) in print() 93 << dwarf::ChildrenString(Children) in print() 98 << dwarf::AttributeString(Data[i].getAttribute()) in print() 100 << dwarf::FormEncodingString(Data[i].getForm()) in print() 120 if (p->getTag() == dwarf::DW_TAG_compile_unit || in getUnitOrNull() 121 p->getTag() == dwarf::DW_TAG_type_unit) in getUnitOrNull() [all …]
|
D | DwarfUnit.cpp | 44 DwarfUnit::DwarfUnit(unsigned UID, dwarf::Tag UnitTag, DICompileUnit Node, in DwarfUnit() 49 assert(UnitTag == dwarf::DW_TAG_compile_unit || in DwarfUnit() 50 UnitTag == dwarf::DW_TAG_type_unit); in DwarfUnit() 57 : DwarfUnit(UID, dwarf::DW_TAG_compile_unit, Node, A, DW, DWU) { in DwarfCompileUnit() 64 : DwarfUnit(UID, dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU), in DwarfTypeUnit() 67 addSectionOffset(UnitDie, dwarf::DW_AT_stmt_list, 0); in DwarfTypeUnit() 92 case dwarf::DW_LANG_C89: in getDefaultLowerBound() 93 case dwarf::DW_LANG_C99: in getDefaultLowerBound() 94 case dwarf::DW_LANG_C: in getDefaultLowerBound() 95 case dwarf::DW_LANG_C_plus_plus: in getDefaultLowerBound() [all …]
|
D | AsmPrinterDwarf.cpp | 58 if (Val >= dwarf::DW_CFA_offset && Val < dwarf::DW_CFA_offset + 64) in EmitCFAByte() 60 Twine(Val - dwarf::DW_CFA_offset) + ")"); in EmitCFAByte() 62 OutStreamer.AddComment(dwarf::CallFrameString(Val)); in EmitCFAByte() 69 case dwarf::DW_EH_PE_absptr: in DecodeDWARFEncoding() 71 case dwarf::DW_EH_PE_omit: in DecodeDWARFEncoding() 73 case dwarf::DW_EH_PE_pcrel: in DecodeDWARFEncoding() 75 case dwarf::DW_EH_PE_udata4: in DecodeDWARFEncoding() 77 case dwarf::DW_EH_PE_udata8: in DecodeDWARFEncoding() 79 case dwarf::DW_EH_PE_sdata4: in DecodeDWARFEncoding() 81 case dwarf::DW_EH_PE_sdata8: in DecodeDWARFEncoding() [all …]
|
D | DIE.h | 35 dwarf::Attribute Attribute; 39 dwarf::Form Form; 42 DIEAbbrevData(dwarf::Attribute A, dwarf::Form F) : Attribute(A), Form(F) {} in DIEAbbrevData() 45 dwarf::Attribute getAttribute() const { return Attribute; } in getAttribute() 46 dwarf::Form getForm() const { return Form; } in getForm() 63 dwarf::Tag Tag; 76 DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C), Data() {} in DIEAbbrev() 79 dwarf::Tag getTag() const { return Tag; } in getTag() 88 void AddAttribute(dwarf::Attribute Attribute, dwarf::Form Form) { in AddAttribute() 143 : Offset(0), Size(0), Abbrev((dwarf::Tag)0, dwarf::DW_CHILDREN_no), in DIE() [all …]
|
/external/libunwind/src/x86_64/ |
D | Gstep.c | 67 c, c->dwarf.ip, c->dwarf.cfa); in unw_step() 71 ret = dwarf_step (&c->dwarf); in unw_step() 87 if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP])) in unw_step() 89 c->dwarf.ip = 0; in unw_step() 107 unw_word_t prev_ip = c->dwarf.ip, prev_cfa = c->dwarf.cfa; in unw_step() 125 else if (is_plt_entry (&c->dwarf)) in unw_step() 132 c->dwarf.loc[RIP] = DWARF_LOC (c->dwarf.cfa, 0); in unw_step() 133 c->dwarf.cfa += 8; in unw_step() 135 else if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP])) in unw_step() 138 c->dwarf.loc[i] = DWARF_NULL_LOC; in unw_step() [all …]
|
D | init.h | 41 DWARF_REG_LOC (&c->dwarf, UNW_X86_64_ ## ruc) 49 c->dwarf.loc[RAX] = REG_INIT_LOC(c, rax, RAX); in common_init() 50 c->dwarf.loc[RDX] = REG_INIT_LOC(c, rdx, RDX); in common_init() 51 c->dwarf.loc[RCX] = REG_INIT_LOC(c, rcx, RCX); in common_init() 52 c->dwarf.loc[RBX] = REG_INIT_LOC(c, rbx, RBX); in common_init() 53 c->dwarf.loc[RSI] = REG_INIT_LOC(c, rsi, RSI); in common_init() 54 c->dwarf.loc[RDI] = REG_INIT_LOC(c, rdi, RDI); in common_init() 55 c->dwarf.loc[RBP] = REG_INIT_LOC(c, rbp, RBP); in common_init() 56 c->dwarf.loc[RSP] = REG_INIT_LOC(c, rsp, RSP); in common_init() 57 c->dwarf.loc[R8] = REG_INIT_LOC(c, r8, R8); in common_init() [all …]
|
D | Gregs.c | 39 return DWARF_REG_LOC (&c->dwarf, reg); 50 return DWARF_REG_LOC (&c->dwarf, reg); 60 return DWARF_REG_LOC (&c->dwarf, reg); 77 c->dwarf.ip = *valp; /* also update the RIP cache */ in tdep_access_reg() 78 loc = c->dwarf.loc[RIP]; in tdep_access_reg() 85 *valp = c->dwarf.cfa; in tdep_access_reg() 94 c->dwarf.eh_args[arg_num] = *valp; in tdep_access_reg() 95 c->dwarf.eh_valid_mask |= mask; in tdep_access_reg() 98 else if ((c->dwarf.eh_valid_mask & mask) != 0) in tdep_access_reg() 100 *valp = c->dwarf.eh_args[arg_num]; in tdep_access_reg() [all …]
|
D | Gos-freebsd.c | 47 as = c->dwarf.as; in unw_is_signal_frame() 49 arg = c->dwarf.as_arg; in unw_is_signal_frame() 60 ip = c->dwarf.ip; in unw_is_signal_frame() 99 ucontext = c->dwarf.cfa + offsetof(struct sigframe, sf_uc); in unw_handle_signal_frame() 100 c->sigcontext_addr = c->dwarf.cfa; in unw_handle_signal_frame() 104 ret = dwarf_get (&c->dwarf, rsp_loc, &c->dwarf.cfa); in unw_handle_signal_frame() 111 c->dwarf.loc[RAX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RAX, 0); in unw_handle_signal_frame() 112 c->dwarf.loc[RDX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDX, 0); in unw_handle_signal_frame() 113 c->dwarf.loc[RCX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RCX, 0); in unw_handle_signal_frame() 114 c->dwarf.loc[RBX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBX, 0); in unw_handle_signal_frame() [all …]
|
/external/libunwind/src/mips/ |
D | init.h | 33 c->dwarf.loc[i] = DWARF_REG_LOC (&c->dwarf, UNW_MIPS_R0 + i); in common_init() 35 c->dwarf.loc[i] = DWARF_NULL_LOC; in common_init() 37 c->dwarf.loc[UNW_MIPS_PC] = DWARF_REG_LOC (&c->dwarf, UNW_MIPS_PC); in common_init() 39 ret = dwarf_get (&c->dwarf, c->dwarf.loc[UNW_MIPS_PC], &c->dwarf.ip); in common_init() 43 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_MIPS_R29), in common_init() 44 &c->dwarf.cfa); in common_init() 50 c->dwarf.args_size = 0; in common_init() 51 c->dwarf.ret_addr_column = 0; in common_init() 52 c->dwarf.stash_frames = 0; in common_init() 53 c->dwarf.use_prev_instr = use_prev_instr; in common_init() [all …]
|
/external/elfutils/0.153/libdw/ |
D | dwarf_end.c | 84 __libdw_free_zdata (Dwarf *dwarf) in __libdw_free_zdata() argument 86 unsigned int gzip_mask = dwarf->sectiondata_gzip_mask; in __libdw_free_zdata() 93 free (dwarf->sectiondata[i]); in __libdw_free_zdata() 100 dwarf_end (dwarf) in dwarf_end() argument 101 Dwarf *dwarf; in dwarf_end() 103 if (dwarf != NULL) 105 if (dwarf->cfi != NULL) 107 __libdw_destroy_frame_cache (dwarf->cfi); 109 Dwarf_Sig8_Hash_free (&dwarf->sig8_hash); 114 tdestroy (dwarf->cu_tree, cu_free); [all …]
|
/external/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 50 PersonalityEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel in InitMachOMCObjectFileInfo() 51 | dwarf::DW_EH_PE_sdata4; in InitMachOMCObjectFileInfo() 52 LSDAEncoding = FDECFIEncoding = dwarf::DW_EH_PE_pcrel; in InitMachOMCObjectFileInfo() 53 TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | in InitMachOMCObjectFileInfo() 54 dwarf::DW_EH_PE_sdata4; in InitMachOMCObjectFileInfo() 271 FDECFIEncoding = dwarf::DW_EH_PE_sdata4; in InitELFMCObjectFileInfo() 275 FDECFIEncoding = dwarf::DW_EH_PE_sdata8; in InitELFMCObjectFileInfo() 278 FDECFIEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4; in InitELFMCObjectFileInfo() 292 ? dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4 in InitELFMCObjectFileInfo() 293 : dwarf::DW_EH_PE_absptr; in InitELFMCObjectFileInfo() [all …]
|