Home
last modified time | relevance | path

Searched refs:dwarf (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/external/libunwind/src/aarch64/
Dinit.h33 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 …]
DGstep.c35 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/
DDIEHashTest.cpp41 DIE &Die = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
43 Die.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, Size); in TEST_F()
50 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
52 Unnamed.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
55 Unnamed.addValue(Alloc, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, One); in TEST_F()
56 Unnamed.addValue(Alloc, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, One); in TEST_F()
65 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
68 Foo.addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, FooStr); in TEST_F()
69 Foo.addValue(Alloc, dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, One); in TEST_F()
79 DIE &CU = *DIE::get(Alloc, dwarf::DW_TAG_compile_unit); in TEST_F()
[all …]
/external/libunwind/src/ppc64/
DGstep.c62 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 …]
Dinit.h37 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 …]
/external/libunwind/src/sh/
Dinit.h32 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 …]
DGstep.c35 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/
Dinit.h32 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 …]
DGstep.c42 c->dwarf.loc[UNW_ARM_R15] = DWARF_NULL_LOC; in arm_exidx_step()
44 if ((ret = tdep_find_proc_info (&c->dwarf, c->dwarf.ip, 1)) < 0) in arm_exidx_step()
47 if (c->dwarf.pi.format != UNW_INFO_FORMAT_ARM_EXIDX) in arm_exidx_step()
50 ret = arm_exidx_extract (&c->dwarf, buf); in arm_exidx_step()
56 ret = arm_exidx_decode (buf, ret, &c->dwarf); in arm_exidx_step()
60 c->dwarf.pi_valid = 0; in arm_exidx_step()
62 return (c->dwarf.ip == 0) ? 0 : 1; in arm_exidx_step()
74 ip = c->dwarf.ip; in adjust_ip()
88 as = c->dwarf.as; in adjust_ip()
90 arg = c->dwarf.as_arg; in adjust_ip()
[all …]
/external/libunwind/src/ppc32/
DGstep.c61 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 …]
Dinit.h39 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/libunwind/src/x86/
Dinit.h33 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 …]
DGstep.c35 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()
76 ret = dwarf_get (&c->dwarf, c->dwarf.loc[EBP], &c->dwarf.cfa); in unw_step()
83 Debug (13, "[EBP=0x%x] = 0x%x\n", DWARF_GET_LOC (c->dwarf.loc[EBP]), in unw_step()
84 c->dwarf.cfa); in unw_step()
86 ebp_loc = DWARF_LOC (c->dwarf.cfa, 0); in unw_step()
87 eip_loc = DWARF_LOC (c->dwarf.cfa + 4, 0); in unw_step()
88 c->dwarf.cfa += 8; in unw_step()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDIE.cpp66 AP->EmitULEB128(Tag, dwarf::TagString(Tag)); in Emit()
69 AP->EmitULEB128((unsigned)Children, dwarf::ChildrenString(Children)); in Emit()
77 dwarf::AttributeString(AttrData.getAttribute())); in Emit()
81 dwarf::FormEncodingString(AttrData.getForm())); in Emit()
94 << dwarf::TagString(Tag) in print()
96 << dwarf::ChildrenString(Children) in print()
101 << dwarf::AttributeString(Data[i].getAttribute()) in print()
103 << dwarf::FormEncodingString(Data[i].getForm()) in print()
131 if (p->getTag() == dwarf::DW_TAG_compile_unit || in getUnitOrNull()
132 p->getTag() == dwarf::DW_TAG_type_unit) in getUnitOrNull()
[all …]
DDwarfUnit.cpp53 DU.addUInt(DIE, dwarf::DW_FORM_data1, Op); in EmitOp()
56 DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value); in EmitSigned()
59 DU.addUInt(DIE, dwarf::DW_FORM_udata, Value); in EmitUnsigned()
66 DwarfUnit::DwarfUnit(dwarf::Tag UnitTag, const DICompileUnit *Node, in DwarfUnit()
70 assert(UnitTag == dwarf::DW_TAG_compile_unit || in DwarfUnit()
71 UnitTag == dwarf::DW_TAG_type_unit); in DwarfUnit()
77 : DwarfUnit(dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU), CU(CU), in DwarfTypeUnit()
80 addSectionOffset(UnitDie, dwarf::DW_AT_stmt_list, 0); in DwarfTypeUnit()
95 case dwarf::DW_LANG_C89: in getDefaultLowerBound()
96 case dwarf::DW_LANG_C99: in getDefaultLowerBound()
[all …]
DAsmPrinterDwarf.cpp61 case dwarf::DW_EH_PE_absptr: in DecodeDWARFEncoding()
63 case dwarf::DW_EH_PE_omit: in DecodeDWARFEncoding()
65 case dwarf::DW_EH_PE_pcrel: in DecodeDWARFEncoding()
67 case dwarf::DW_EH_PE_udata4: in DecodeDWARFEncoding()
69 case dwarf::DW_EH_PE_udata8: in DecodeDWARFEncoding()
71 case dwarf::DW_EH_PE_sdata4: in DecodeDWARFEncoding()
73 case dwarf::DW_EH_PE_sdata8: in DecodeDWARFEncoding()
75 case dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_udata4: in DecodeDWARFEncoding()
77 case dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4: in DecodeDWARFEncoding()
79 case dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_udata8: in DecodeDWARFEncoding()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp124 addUInt(Die, dwarf::DW_AT_decl_file, 0, FileID); in addSourceLine()
125 addUInt(Die, dwarf::DW_AT_decl_line, 0, Line); in addSourceLine()
141 addUInt(Die, dwarf::DW_AT_decl_file, 0, FileID); in addSourceLine()
142 addUInt(Die, dwarf::DW_AT_decl_line, 0, Line); in addSourceLine()
160 addUInt(Die, dwarf::DW_AT_decl_file, 0, FileID); in addSourceLine()
161 addUInt(Die, dwarf::DW_AT_decl_line, 0, Line); in addSourceLine()
176 addUInt(Die, dwarf::DW_AT_decl_file, 0, FileID); in addSourceLine()
177 addUInt(Die, dwarf::DW_AT_decl_line, 0, Line); in addSourceLine()
194 addUInt(Die, dwarf::DW_AT_decl_file, 0, FileID); in addSourceLine()
195 addUInt(Die, dwarf::DW_AT_decl_line, 0, Line); in addSourceLine()
[all …]
DAsmPrinterDwarf.cpp87 if (Val >= dwarf::DW_CFA_offset && Val < dwarf::DW_CFA_offset+64) in EmitCFAByte()
89 Twine(Val-dwarf::DW_CFA_offset) + ")"); in EmitCFAByte()
91 OutStreamer.AddComment(dwarf::CallFrameString(Val)); in EmitCFAByte()
98 case dwarf::DW_EH_PE_absptr: return "absptr"; in DecodeDWARFEncoding()
99 case dwarf::DW_EH_PE_omit: return "omit"; in DecodeDWARFEncoding()
100 case dwarf::DW_EH_PE_pcrel: return "pcrel"; in DecodeDWARFEncoding()
101 case dwarf::DW_EH_PE_udata4: return "udata4"; in DecodeDWARFEncoding()
102 case dwarf::DW_EH_PE_udata8: return "udata8"; in DecodeDWARFEncoding()
103 case dwarf::DW_EH_PE_sdata4: return "sdata4"; in DecodeDWARFEncoding()
104 case dwarf::DW_EH_PE_sdata8: return "sdata8"; in DecodeDWARFEncoding()
[all …]
DDIE.cpp59 AP->EmitULEB128(Tag, dwarf::TagString(Tag)); in Emit()
63 AP->EmitULEB128(ChildrenFlag, dwarf::ChildrenString(ChildrenFlag)); in Emit()
72 dwarf::AttributeString(AttrData.getAttribute())); in Emit()
77 dwarf::FormEncodingString(AttrData.getForm())); in Emit()
90 << dwarf::TagString(Tag) in print()
92 << dwarf::ChildrenString(ChildrenFlag) in print()
97 << dwarf::AttributeString(Data[i].getAttribute()) in print()
99 << dwarf::FormEncodingString(Data[i].getForm()) in print()
120 Abbrev.AddFirstAttribute(dwarf::DW_AT_sibling, dwarf::DW_FORM_ref4); in addSiblingOffset()
138 << dwarf::TagString(Abbrev.getTag()) in print()
[all …]
/external/libunwind/src/mips/
DGstep.c32 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in unw_handle_signal_frame()
53 if (tdep_big_endian(c->dwarf.as)) in unw_handle_signal_frame()
59 c->dwarf.loc[UNW_MIPS_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in unw_handle_signal_frame()
60 c->dwarf.loc[UNW_MIPS_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in unw_handle_signal_frame()
61 c->dwarf.loc[UNW_MIPS_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in unw_handle_signal_frame()
62 c->dwarf.loc[UNW_MIPS_R3] = DWARF_LOC (sc_addr + LINUX_SC_R3_OFF, 0); in unw_handle_signal_frame()
63 c->dwarf.loc[UNW_MIPS_R4] = DWARF_LOC (sc_addr + LINUX_SC_R4_OFF, 0); in unw_handle_signal_frame()
64 c->dwarf.loc[UNW_MIPS_R5] = DWARF_LOC (sc_addr + LINUX_SC_R5_OFF, 0); in unw_handle_signal_frame()
65 c->dwarf.loc[UNW_MIPS_R6] = DWARF_LOC (sc_addr + LINUX_SC_R6_OFF, 0); in unw_handle_signal_frame()
66 c->dwarf.loc[UNW_MIPS_R7] = DWARF_LOC (sc_addr + LINUX_SC_R7_OFF, 0); in unw_handle_signal_frame()
[all …]
Dinit.h33 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/libunwind/src/x86_64/
DGstep.c67 c, c->dwarf.ip, c->dwarf.cfa); in unw_step()
69 unw_word_t old_ip = c->dwarf.ip; in unw_step()
70 unw_word_t old_cfa = c->dwarf.cfa; in unw_step()
74 ret = dwarf_step (&c->dwarf); in unw_step()
90 if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP])) in unw_step()
92 c->dwarf.ip = 0; in unw_step()
110 unw_word_t prev_ip = c->dwarf.ip, prev_cfa = c->dwarf.cfa; in unw_step()
128 else if (is_plt_entry (&c->dwarf)) in unw_step()
135 c->dwarf.loc[RIP] = DWARF_LOC (c->dwarf.cfa, 0); in unw_step()
136 c->dwarf.cfa += 8; in unw_step()
[all …]
Dinit.h41 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 …]
DGregs.c39 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 …]
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp64 PersonalityEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel in initMachOMCObjectFileInfo()
65 | dwarf::DW_EH_PE_sdata4; in initMachOMCObjectFileInfo()
66 LSDAEncoding = FDECFIEncoding = dwarf::DW_EH_PE_pcrel; in initMachOMCObjectFileInfo()
67 TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | in initMachOMCObjectFileInfo()
68 dwarf::DW_EH_PE_sdata4; in initMachOMCObjectFileInfo()
290 FDECFIEncoding = dwarf::DW_EH_PE_sdata4; in initELFMCObjectFileInfo()
294 FDECFIEncoding = dwarf::DW_EH_PE_sdata8; in initELFMCObjectFileInfo()
297 FDECFIEncoding = dwarf::DW_EH_PE_pcrel | in initELFMCObjectFileInfo()
298 ((CMModel == CodeModel::Large) ? dwarf::DW_EH_PE_sdata8 in initELFMCObjectFileInfo()
299 : dwarf::DW_EH_PE_sdata4); in initELFMCObjectFileInfo()
[all …]

12345678910>>...15