Home
last modified time | relevance | path

Searched refs:locs (Results 1 - 6 of 6) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddwarf_cfa_instructions.cpp111 rsState.locs[qutIdx].type = REG_LOC_MEM_OFFSET; in DecodeDwCfa()
112 rsState.locs[qutIdx].val = offset; in DecodeDwCfa()
121 rsState.locs[qutIdx] = backupRsState_.locs[qutIdx]; in DecodeDwCfa()
133 rsState.locs[qutIdx].type = REG_LOC_UNDEFINED; // cfa offset in DecodeDwCfa()
145 rsState.locs[qutIdx].type = REG_LOC_UNUSED; in DecodeDwCfa()
156 rsState.locs[qutIdx].type = REG_LOC_REGISTER; // register is saved in current register in DecodeDwCfa()
157 rsState.locs[qutIdx].val = static_cast<intptr_t>(reg2); in DecodeDwCfa()
195 rsState.locs[qutIdx].type = REG_LOC_MEM_OFFSET; in DecodeDwCfa()
196 rsState.locs[qutId in DecodeDwCfa()
[all...]
H A Ddfx_instructions.cpp98 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.locs[i], regs[reg])) { in Apply()
H A Darm_exidx.cpp118 rsState_->locs[i].type = REG_LOC_MEM_OFFSET; in FlushInstr()
119 rsState_->locs[i].val = -context_.regs[i]; in FlushInstr()
120 DFXLOGU("rsState reg: %{public}d, locs[%{public}d].val: %{public}d", reg, i, rsState_->locs[i].val); in FlushInstr()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Dunwind_loc.h46 RegLocState() { locs.resize(DfxRegsQut::GetQutRegsSize()); } in RegLocState()
47 explicit RegLocState(size_t locsSize) { locs.resize(locsSize); } in RegLocState()
60 std::vector<RegLoc> locs; member
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Darm_exidx_test.cpp233 ASSERT_EQ(rs->locs[3].type, REG_LOC_MEM_OFFSET); in HWTEST_F()
234 ASSERT_EQ(rs->locs[3].val, -4); in HWTEST_F()
302 ASSERT_EQ(rs->locs[0].type, REG_LOC_MEM_OFFSET); in HWTEST_F()
303 ASSERT_EQ(rs->locs[0].val, -20); in HWTEST_F()
304 ASSERT_EQ(rs->locs[1].type, REG_LOC_MEM_OFFSET); in HWTEST_F()
305 ASSERT_EQ(rs->locs[1].val, -4); in HWTEST_F()
327 ASSERT_EQ(rs->locs[0].type, REG_LOC_MEM_OFFSET); in HWTEST_F()
328 ASSERT_EQ(rs->locs[0].val, -24); in HWTEST_F()
329 ASSERT_EQ(rs->locs[1].type, REG_LOC_MEM_OFFSET); in HWTEST_F()
330 ASSERT_EQ(rs->locs[ in HWTEST_F()
[all...]
H A Ddwarf_test.cpp590 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()

Completed in 6 milliseconds