Home
last modified time | relevance | path

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

12345678910>>...12

/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/
DDwarfUnit.cpp54 DU.addUInt(DIE, dwarf::DW_FORM_data1, Op); in EmitOp()
57 DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value); in EmitSigned()
60 DU.addUInt(DIE, dwarf::DW_FORM_udata, Value); in EmitUnsigned()
66 DwarfUnit::DwarfUnit(unsigned UID, dwarf::Tag UnitTag, in DwarfUnit()
72 assert(UnitTag == dwarf::DW_TAG_compile_unit || in DwarfUnit()
73 UnitTag == dwarf::DW_TAG_type_unit); in DwarfUnit()
79 : DwarfUnit(UID, dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU), in DwarfTypeUnit()
82 addSectionOffset(UnitDie, dwarf::DW_AT_stmt_list, 0); in DwarfTypeUnit()
97 case dwarf::DW_LANG_C89: in getDefaultLowerBound()
98 case dwarf::DW_LANG_C99: in getDefaultLowerBound()
[all …]
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 …]
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/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 …]
DGos-freebsd.c47 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/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()
281 FDECFIEncoding = dwarf::DW_EH_PE_sdata4; in initELFMCObjectFileInfo()
285 FDECFIEncoding = dwarf::DW_EH_PE_sdata8; in initELFMCObjectFileInfo()
288 FDECFIEncoding = dwarf::DW_EH_PE_pcrel | in initELFMCObjectFileInfo()
289 ((CMModel == CodeModel::Large) ? dwarf::DW_EH_PE_sdata8 in initELFMCObjectFileInfo()
290 : dwarf::DW_EH_PE_sdata4); in initELFMCObjectFileInfo()
[all …]
/external/elfutils/libdw/
Ddwarf_end.c61 dwarf_end (Dwarf *dwarf) in dwarf_end() argument
63 if (dwarf != NULL) in dwarf_end()
65 if (dwarf->cfi != NULL) in dwarf_end()
67 __libdw_destroy_frame_cache (dwarf->cfi); in dwarf_end()
69 Dwarf_Sig8_Hash_free (&dwarf->sig8_hash); in dwarf_end()
74 tdestroy (dwarf->cu_tree, cu_free); in dwarf_end()
75 tdestroy (dwarf->tu_tree, cu_free); in dwarf_end()
78 tdestroy (dwarf->macro_ops, noop_free); in dwarf_end()
81 tdestroy (dwarf->files_lines, noop_free); in dwarf_end()
83 struct libdw_memblock *memp = dwarf->mem_tail; in dwarf_end()
[all …]
/external/llvm/include/llvm/CodeGen/
DDIE.h38 dwarf::Attribute Attribute;
42 dwarf::Form Form;
45 DIEAbbrevData(dwarf::Attribute A, dwarf::Form F) : Attribute(A), Form(F) {} in DIEAbbrevData()
48 dwarf::Attribute getAttribute() const { return Attribute; } in getAttribute()
49 dwarf::Form getForm() const { return Form; } in getForm()
66 dwarf::Tag Tag;
79 DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C), Data() {} in DIEAbbrev()
82 dwarf::Tag getTag() const { return Tag; } in getTag()
91 void AddAttribute(dwarf::Attribute Attribute, dwarf::Form Form) { in AddAttribute()
118 static dwarf::Form BestForm(bool IsSigned, uint64_t Int) { in BestForm()
[all …]

12345678910>>...12