Lines Matching defs:frompc
54 * program's call graph edges. frompc and selfpc are the return
58 * both frompcindex and frompc. Any reasonable, modern compiler will
61 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) /* _mcount; may be static, inline, etc */
93 MCOUNT_DETRAMP(frompc);
97 * When we are called from an exception handler, frompc may be
98 * a user address. Convert such frompc's to some representation
102 frompc = MCOUNT_FROMPC_USER(frompc);
109 if (frompc < p->lowpc || frompc - p->lowpc >= p->textsize)
110 frompc = MCOUNT_USERPC;
114 frompci = frompc - p->lowpc;
122 * against `frompc'. Compensate for overheads.
150 * When we are called from an exception handler, frompc is faked
157 frompc = MCOUNT_FROMPC_INTR(selfpc);
158 if ((frompc - p->lowpc) < p->textsize)
159 frompci = frompc - p->lowpc;
163 * check that frompc is a reasonable pc value.