Home
last modified time | relevance | path

Searched refs:dfxregs (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/faultloggerd/frameworks/unwinder/
Dfp_unwinder.cpp70 std::shared_ptr<DfxRegs> dfxregs = DfxRegs::Create(); in UnwindWithContext() local
72 dfxregs->fp_ = context.regs[REG_ARM_R11]; in UnwindWithContext()
73 dfxregs->pc_ = context.regs[REG_ARM_R15]; in UnwindWithContext()
75 dfxregs->fp_ = context.uc_mcontext.regs[REG_AARCH64_X29]; in UnwindWithContext()
76 dfxregs->pc_ = context.uc_mcontext.pc; in UnwindWithContext()
81 return Unwind(dfxregs, skipFrameNum); in UnwindWithContext()
86 std::shared_ptr<DfxRegs> dfxregs = DfxRegs::Create(); in Unwind() local
88 dfxregs->GetFramePointerMiniRegs(regs); in Unwind()
89 dfxregs->fp_ = regs[0]; // 0 : index of x29 or r11 register in Unwind()
90 dfxregs->pc_ = regs[3]; // 3 : index of x32 or r15 register in Unwind()
[all …]
Ddfx_regs.cpp30 std::shared_ptr<DfxRegs> dfxregs; in Create() local
32 dfxregs = std::make_shared<DfxRegsArm>(); in Create()
34 dfxregs = std::make_shared<DfxRegsArm64>(); in Create()
36 dfxregs = std::make_shared<DfxRegsX86_64>(); in Create()
40 return dfxregs; in Create()
45 std::shared_ptr<DfxRegs> dfxregs; in CreateFromContext() local
47 dfxregs = std::make_shared<DfxRegsArm>(context); in CreateFromContext()
49 dfxregs = std::make_shared<DfxRegsArm64>(context); in CreateFromContext()
51 dfxregs = std::make_shared<DfxRegsX86_64>(context); in CreateFromContext()
55 return dfxregs; in CreateFromContext()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
Dprocess_dump_test.cpp216 auto dfxregs = DfxRegs::Create(); variable
218 dfxregs->GetFramePointerMiniRegs(regs);
219 dfxregs->fp_ = regs[0]; // 0 : index of x29 or r11 register
220 dfxregs->pc_ = regs[3]; // 3 : index of x32 or r15 register
221 thread->SetThreadRegs(dfxregs);
/base/hiviewdfx/faultloggerd/frameworks/unwinder/include/
Dfp_unwinder.h35 bool Unwind(const std::shared_ptr<DfxRegs> &dfxregs, size_t skipFrameNum);