Searched refs:rsState (Results 1 - 5 of 5) sorted by relevance
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dwarf_cfa_instructions.cpp | 36 uintptr_t instStart, uintptr_t instEnd, RegLocState &rsState)
in Iterate() 40 rsState.pcStart = pcOffset;
in Iterate() 41 backupRsState_ = rsState;
in Iterate() 45 rsState.pcEnd = pcOffset;
in Iterate() 49 rsState.pcEnd = fde.pcEnd;
in Iterate() 52 rsState.pcStart = pcOffset;
in Iterate() 60 if (!DecodeDwCfa(opCode, cie, pcOffset, instPtr, rsState)) {
in Iterate() 64 DFXLOGU("rsState pcStart=%{public}" PRIx64 ", pcEnd=%{public}" PRIx64 "",
in Iterate() 65 (uint64_t)rsState.pcStart, (uint64_t)rsState in Iterate() 35 Iterate(uintptr_t pc, FrameDescEntry fde, uintptr_t instStart, uintptr_t instEnd, RegLocState &rsState) Iterate() argument 69 DecodeDwCfa(uint8_t opCode, CommonInfoEntry cie, uintptr_t& pcOffset, uintptr_t& instPtr, RegLocState &rsState) DecodeDwCfa() argument 311 Parse(uintptr_t pc, FrameDescEntry fde, RegLocState &rsState) Parse() argument [all...] |
H A D | dfx_instructions.cpp | 78 bool DfxInstructions::Apply(std::shared_ptr<DfxMemory> memory, DfxRegs& regs, RegLocState& rsState, uint16_t& errCode) in Apply() argument 82 if (rsState.cfaReg != 0) { in Apply() 83 cfa = regs[rsState.cfaReg] + static_cast<uint32_t>(rsState.cfaRegOffset); in Apply() 84 } else if (rsState.cfaExprPtr != 0) { in Apply() 86 cfaLoc.val = static_cast<intptr_t>(rsState.cfaExprPtr); in Apply() 93 INSTR_STATISTIC(UnsupportedDefCfa, rsState.cfaReg, UNW_ERROR_NOT_SUPPORT); in Apply() 98 for (size_t i = 0; i < rsState.locs.size(); i++) { in Apply() 99 if (rsState.locs[i].type != REG_LOC_UNUSED) { in Apply() 101 if (Flush(regs, memory, cfa, rsState in Apply() [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dwarf_cfa_instructions.h | 34 bool Parse(uintptr_t pc, FrameDescEntry fde, RegLocState& rsState);
37 bool Iterate(uintptr_t pc, FrameDescEntry fde, uintptr_t instStart, uintptr_t instEnd, RegLocState &rsState);
38 bool DecodeDwCfa(uint8_t op, CommonInfoEntry cie, uintptr_t& pcOffset, uintptr_t& instPtr, RegLocState &rsState);
|
H A D | dfx_instructions.h | 33 static bool Apply(std::shared_ptr<DfxMemory> memory, DfxRegs& regs, RegLocState& rsState, uint16_t& errCode);
|
/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | dwarf_test.cpp | 543 RegLocState rsState; in HWTEST_F() local 545 ASSERT_EQ(true, instructions.Parse(pc, fde, rsState)); in HWTEST_F() 585 ASSERT_EQ(rsState.cfaReg, REG_AARCH64_X29); in HWTEST_F() 586 ASSERT_EQ(rsState.cfaRegOffset, 112); // 112 : DW_CFA_def_cfa: r29 (x29) ofs 112 in HWTEST_F() 590 ASSERT_EQ(static_cast<uint8_t>(rsState.locs[qutIdx].type), in HWTEST_F() 592 ASSERT_EQ(rsState.locs[qutIdx].val, -104); // -104: r30 (x30) at cfa-104 in HWTEST_F() 595 ASSERT_EQ(static_cast<uint8_t>(rsState.locs[qutIdx].type), in HWTEST_F() 597 ASSERT_EQ(rsState.locs[qutIdx].val, -112); // -112: r29 (x29) at cfa-112 in HWTEST_F() 788 RegLocState rsState; in HWTEST_F() local 790 ASSERT_EQ(true, instructions.Parse(pc, fde, rsState)); in HWTEST_F() [all...] |
Completed in 3 milliseconds