Lines Matching defs:frame
43 * Use the DWARF expression for the Call-frame-address and determine
44 * if return address is in LR and if a new frame was allocated.
46 static int check_return_reg(int ra_regno, Dwarf_Frame *frame)
54 result = dwarf_frame_register(frame, ra_regno, ops_mem, &ops, &nops);
71 * Return address is in LR. Check if a frame was allocated
74 result = dwarf_frame_cfa(frame, &ops, &nops);
82 * If call frame address is in r1, no new frame was allocated.
89 * A new frame was allocated but has not yet been used.
95 * Get the DWARF frame from the .eh_frame section.
102 Dwarf_Frame *frame;
110 result = dwarf_cfi_addrframe(cfi, pc-bias, &frame);
116 return frame;
120 * Get the DWARF frame from the .debug_frame section.
126 Dwarf_Frame *frame;
135 result = dwarf_cfi_addrframe(cfi, pc-bias, &frame);
141 return frame;
147 * 1 if return address is in LR and no new stack frame was allocated
148 * 2 if return address is in LR and a new frame was allocated (but not
157 Dwarf_Frame *frame;
199 frame = get_eh_frame(mod, pc);
200 if (!frame) {
201 frame = get_dwarf_frame(mod, pc);
202 if (!frame)
206 ra_regno = dwarf_frame_info(frame, &start, &end, &signalp);
213 rc = check_return_reg(ra_regno, frame);
231 * Further, when the return address is in the LR, if a new frame was just
279 * New frame allocated but return address still in LR.