Lines Matching refs:addressSpace

38   static int stepWithDwarf(A &addressSpace, pint_t pc, pint_t fdeStart,
56 static pint_t evaluateExpression(pint_t expression, A &addressSpace,
59 static pint_t getSavedRegister(A &addressSpace, const R &registers,
61 static double getSavedFloatRegister(A &addressSpace, const R &registers,
63 static v128 getSavedVectorRegister(A &addressSpace, const R &registers,
66 static pint_t getCFA(A &addressSpace, const PrologInfo &prolog, in getCFA() argument
72 return evaluateExpression((pint_t)prolog.cfaExpression, addressSpace, in getCFA()
82 A &addressSpace, const R &registers, pint_t cfa, in getSavedRegister() argument
86 return addressSpace.getP(cfa + (pint_t)savedReg.value); in getSavedRegister()
89 return addressSpace.getP( in getSavedRegister()
90 evaluateExpression((pint_t)savedReg.value, addressSpace, in getSavedRegister()
94 return evaluateExpression((pint_t)savedReg.value, addressSpace, in getSavedRegister()
110 A &addressSpace, const R &registers, pint_t cfa, in getSavedFloatRegister() argument
114 return addressSpace.getDouble(cfa + (pint_t)savedReg.value); in getSavedFloatRegister()
117 return addressSpace.getDouble( in getSavedFloatRegister()
118 evaluateExpression((pint_t)savedReg.value, addressSpace, in getSavedFloatRegister()
133 A &addressSpace, const R &registers, pint_t cfa, in getSavedVectorRegister() argument
137 return addressSpace.getVector(cfa + (pint_t)savedReg.value); in getSavedVectorRegister()
140 return addressSpace.getVector( in getSavedVectorRegister()
141 evaluateExpression((pint_t)savedReg.value, addressSpace, in getSavedVectorRegister()
155 int DwarfInstructions<A, R>::stepWithDwarf(A &addressSpace, pint_t pc, in stepWithDwarf() argument
159 if (CFI_Parser<A>::decodeFDE(addressSpace, fdeStart, in stepWithDwarf()
162 if (CFI_Parser<A>::parseFDEInstructions(addressSpace, fdeInfo, cieInfo, pc, in stepWithDwarf()
165 pint_t cfa = getCFA(addressSpace, prolog, registers); in stepWithDwarf()
180 i, getSavedFloatRegister(addressSpace, registers, cfa, in stepWithDwarf()
184 i, getSavedVectorRegister(addressSpace, registers, cfa, in stepWithDwarf()
187 returnAddress = getSavedRegister(addressSpace, registers, cfa, in stepWithDwarf()
191 i, getSavedRegister(addressSpace, registers, cfa, in stepWithDwarf()
217 DwarfInstructions<A, R>::evaluateExpression(pint_t expression, A &addressSpace, in evaluateExpression() argument
223 pint_t length = (pint_t)addressSpace.getULEB128(p, expressionEnd); in evaluateExpression()
237 uint8_t opcode = addressSpace.get8(p++); in evaluateExpression()
244 value = addressSpace.getP(p); in evaluateExpression()
254 *(++sp) = addressSpace.getP(value); in evaluateExpression()
261 value = addressSpace.get8(p); in evaluateExpression()
270 svalue = (int8_t) addressSpace.get8(p); in evaluateExpression()
279 value = addressSpace.get16(p); in evaluateExpression()
288 svalue = (int16_t) addressSpace.get16(p); in evaluateExpression()
297 value = addressSpace.get32(p); in evaluateExpression()
306 svalue = (int32_t)addressSpace.get32(p); in evaluateExpression()
315 value = (pint_t)addressSpace.get64(p); in evaluateExpression()
324 value = (pint_t)addressSpace.get64(p); in evaluateExpression()
333 value = (pint_t)addressSpace.getULEB128(p, expressionEnd); in evaluateExpression()
341 svalue = (sint_t)addressSpace.getSLEB128(p, expressionEnd); in evaluateExpression()
372 reg = addressSpace.get8(p); in evaluateExpression()
482 *sp += addressSpace.getULEB128(p, expressionEnd); in evaluateExpression()
517 svalue = (int16_t) addressSpace.get16(p); in evaluateExpression()
525 svalue = (int16_t) addressSpace.get16(p); in evaluateExpression()
652 reg = (uint32_t)addressSpace.getULEB128(p, expressionEnd); in evaluateExpression()
691 svalue = (sint_t)addressSpace.getSLEB128(p, expressionEnd); in evaluateExpression()
699 reg = (uint32_t)addressSpace.getULEB128(p, expressionEnd); in evaluateExpression()
700 svalue = (sint_t)addressSpace.getSLEB128(p, expressionEnd); in evaluateExpression()
718 switch (addressSpace.get8(p++)) { in evaluateExpression()
720 value = addressSpace.get8(value); in evaluateExpression()
723 value = addressSpace.get16(value); in evaluateExpression()
726 value = addressSpace.get32(value); in evaluateExpression()
729 value = (pint_t)addressSpace.get64(value); in evaluateExpression()