frame 13 src/cmd/5g/ggen.c static Prog *zerorange(Prog *p, vlong frame, vlong lo, vlong hi, uint32 *r0); frame 18 src/cmd/5g/ggen.c uint32 frame, r0; frame 29 src/cmd/5g/ggen.c frame = rnd(stksize+maxarg, widthptr); frame 30 src/cmd/5g/ggen.c ptxt->to.offset = frame; frame 52 src/cmd/5g/ggen.c p = zerorange(p, frame, lo, hi, &r0); frame 59 src/cmd/5g/ggen.c zerorange(p, frame, lo, hi, &r0); frame 63 src/cmd/5g/ggen.c zerorange(Prog *p, vlong frame, vlong lo, vlong hi, uint32 *r0) frame 78 src/cmd/5g/ggen.c p = appendpp(p, AMOVW, D_REG, 0, 0, D_OREG, REGSP, 4+frame+lo+i); frame 80 src/cmd/5g/ggen.c p = appendpp(p, AADD, D_CONST, NREG, 4+frame+lo, D_REG, 1, 0); frame 88 src/cmd/5g/ggen.c p = appendpp(p, AADD, D_CONST, NREG, 4+frame+lo, D_REG, 1, 0); frame 13 src/cmd/6g/ggen.c static Prog *zerorange(Prog *p, vlong frame, vlong lo, vlong hi, uint32 *ax); frame 18 src/cmd/6g/ggen.c uint32 frame, ax; frame 29 src/cmd/6g/ggen.c frame = rnd(stksize+maxarg, widthreg); frame 30 src/cmd/6g/ggen.c ptxt->to.offset |= frame; frame 54 src/cmd/6g/ggen.c p = zerorange(p, frame, lo, hi, &ax); frame 61 src/cmd/6g/ggen.c zerorange(p, frame, lo, hi, &ax); frame 65 src/cmd/6g/ggen.c zerorange(Prog *p, vlong frame, vlong lo, vlong hi, uint32 *ax) frame 80 src/cmd/6g/ggen.c p = appendpp(p, AMOVL, D_AX, 0, D_SP+D_INDIR, frame+lo); frame 86 src/cmd/6g/ggen.c p = appendpp(p, AMOVQ, D_AX, 0, D_SP+D_INDIR, frame+lo+i); frame 89 src/cmd/6g/ggen.c p = appendpp(p, leaptr, D_SP+D_INDIR, frame+lo, D_DI, 0); frame 94 src/cmd/6g/ggen.c p = appendpp(p, leaptr, D_SP+D_INDIR, frame+lo, D_DI, 0); frame 13 src/cmd/8g/ggen.c static Prog *zerorange(Prog *p, vlong frame, vlong lo, vlong hi, uint32 *ax); frame 18 src/cmd/8g/ggen.c uint32 frame, ax; frame 28 src/cmd/8g/ggen.c frame = rnd(stksize+maxarg, widthptr); frame 29 src/cmd/8g/ggen.c ptxt->to.offset = frame; frame 52 src/cmd/8g/ggen.c p = zerorange(p, frame, lo, hi, &ax); frame 59 src/cmd/8g/ggen.c zerorange(p, frame, lo, hi, &ax); frame 63 src/cmd/8g/ggen.c zerorange(Prog *p, vlong frame, vlong lo, vlong hi, uint32 *ax) frame 76 src/cmd/8g/ggen.c p = appendpp(p, AMOVL, D_AX, 0, D_SP+D_INDIR, frame+lo+i); frame 79 src/cmd/8g/ggen.c p = appendpp(p, ALEAL, D_SP+D_INDIR, frame+lo, D_DI, 0); frame 84 src/cmd/8g/ggen.c p = appendpp(p, ALEAL, D_SP+D_INDIR, frame+lo, D_DI, 0); frame 1349 src/cmd/gc/go.h void frame(int context); frame 416 src/cmd/gc/lex.c frame(1); frame 322 src/cmd/gc/pgen.c frame(0); frame 206 src/pkg/runtime/mgc0.c static bool scanframe(Stkframe *frame, void *wbufp); frame 1565 src/pkg/runtime/mgc0.c scanframe(Stkframe *frame, void *wbufp) frame 1576 src/pkg/runtime/mgc0.c f = frame->fn; frame 1577 src/pkg/runtime/mgc0.c targetpc = frame->continpc; frame 1594 src/pkg/runtime/mgc0.c afterprologue = (frame->varp > (byte*)frame->sp); frame 1600 src/pkg/runtime/mgc0.c size = frame->varp - (byte*)frame->sp; frame 1602 src/pkg/runtime/mgc0.c runtime·printf("frame %s unsized locals %p+%p\n", runtime·funcname(f), frame->varp-size, size); frame 1603 src/pkg/runtime/mgc0.c enqueue1(wbufp, (Obj){frame->varp - size, size, 0}); frame 1608 src/pkg/runtime/mgc0.c runtime·printf("frame %s conservative locals %p+%p\n", runtime·funcname(f), frame->varp-size, size); frame 1609 src/pkg/runtime/mgc0.c enqueue1(wbufp, (Obj){frame->varp - size, size, 0}); frame 1622 src/pkg/runtime/mgc0.c scanbitvector(f, true, frame->varp - size, &bv, afterprologue, wbufp); frame 1631 src/pkg/runtime/mgc0.c scanbitvector(f, precise, frame->argp, &bv, true, wbufp); frame 1634 src/pkg/runtime/mgc0.c runtime·printf("frame %s conservative args %p+%p\n", runtime·funcname(f), frame->argp, (uintptr)frame->arglen); frame 1635 src/pkg/runtime/mgc0.c enqueue1(wbufp, (Obj){frame->argp, frame->arglen, 0}); frame 2610 src/pkg/runtime/mgc0.c byte *frame; frame 2620 src/pkg/runtime/mgc0.c frame = nil; frame 2657 src/pkg/runtime/mgc0.c runtime·free(frame); frame 2662 src/pkg/runtime/mgc0.c frame = runtime·mallocgc(framesz, 0, FlagNoScan|FlagNoInvokeGC); frame 2669 src/pkg/runtime/mgc0.c *(void**)frame = f->arg; frame 2672 src/pkg/runtime/mgc0.c ef = (Eface*)frame; frame 2679 src/pkg/runtime/mgc0.c if(!runtime·ifaceE2I2((InterfaceType*)f->fint, ef1, (Iface*)frame)) frame 2682 src/pkg/runtime/mgc0.c reflect·call(f->fn, frame, framesz, framesz); frame 461 src/pkg/runtime/runtime.h int32 frame; // legacy frame size; use pcsp if possible frame 264 src/pkg/runtime/stack.c checkframecopy(Stkframe *frame, void *arg) frame 271 src/pkg/runtime/stack.c f = frame->fn; frame 273 src/pkg/runtime/stack.c runtime·printf(" checking %s frame=[%p,%p] stk=[%p,%p]\n", runtime·funcname(f), frame->sp, frame->fp, cinfo->stk, cinfo->base); frame 275 src/pkg/runtime/stack.c if(frame->varp < cinfo->stk || frame->varp >= cinfo->base) { frame 287 src/pkg/runtime/stack.c if(frame->varp != (byte*)frame->sp) { // not in prologue (and has at least one local or outarg) frame 302 src/pkg/runtime/stack.c if(frame->arglen != 0) { frame 484 src/pkg/runtime/stack.c adjustframe(Stkframe *frame, void *arg) frame 494 src/pkg/runtime/stack.c f = frame->fn; frame 496 src/pkg/runtime/stack.c runtime·printf(" adjusting %s frame=[%p,%p] pc=%p continpc=%p\n", runtime·funcname(f), frame->sp, frame->fp, frame->pc, frame->continpc); frame 499 src/pkg/runtime/stack.c targetpc = frame->continpc; frame 511 src/pkg/runtime/stack.c if(frame->varp != (byte*)frame->sp) { frame 520 src/pkg/runtime/stack.c adjustpointers((byte**)frame->varp - bv.n / BitsPerPointer, &bv, adjinfo, f); frame 523 src/pkg/runtime/stack.c if(frame->arglen != 0) { frame 530 src/pkg/runtime/stack.c adjustpointers((byte**)frame->argp, &bv, adjinfo, nil); frame 21 src/pkg/runtime/traceback_arm.c Stkframe frame; frame 42 src/pkg/runtime/traceback_arm.c runtime·memclr((byte*)&frame, sizeof frame); frame 43 src/pkg/runtime/traceback_arm.c frame.pc = pc0; frame 44 src/pkg/runtime/traceback_arm.c frame.lr = lr0; frame 45 src/pkg/runtime/traceback_arm.c frame.sp = sp0; frame 60 src/pkg/runtime/traceback_arm.c if(frame.pc == 0) { frame 61 src/pkg/runtime/traceback_arm.c frame.pc = frame.lr; frame 62 src/pkg/runtime/traceback_arm.c frame.lr = 0; frame 65 src/pkg/runtime/traceback_arm.c f = runtime·findfunc(frame.pc); frame 68 src/pkg/runtime/traceback_arm.c runtime·printf("runtime: unknown pc %p\n", frame.pc); frame 73 src/pkg/runtime/traceback_arm.c frame.fn = f; frame 85 src/pkg/runtime/traceback_arm.c if(frame.pc == (uintptr)runtime·lessstack) { frame 87 src/pkg/runtime/traceback_arm.c frame.pc = stk->gobuf.pc; frame 88 src/pkg/runtime/traceback_arm.c frame.sp = stk->gobuf.sp; frame 89 src/pkg/runtime/traceback_arm.c frame.lr = 0; frame 90 src/pkg/runtime/traceback_arm.c frame.fp = 0; frame 95 src/pkg/runtime/traceback_arm.c f = runtime·findfunc(frame.pc); frame 97 src/pkg/runtime/traceback_arm.c runtime·printf("runtime: unknown pc %p after stack split\n", frame.pc); frame 101 src/pkg/runtime/traceback_arm.c frame.fn = f; frame 104 src/pkg/runtime/traceback_arm.c f = frame.fn; frame 108 src/pkg/runtime/traceback_arm.c if(frame.fp == 0) frame 109 src/pkg/runtime/traceback_arm.c frame.fp = frame.sp + runtime·funcspdelta(f, frame.pc); frame 111 src/pkg/runtime/traceback_arm.c frame.lr = 0; frame 124 src/pkg/runtime/traceback_arm.c frame.lr = 0; frame 127 src/pkg/runtime/traceback_arm.c if((n == 0 && frame.sp < frame.fp) || frame.lr == 0) frame 128 src/pkg/runtime/traceback_arm.c frame.lr = *(uintptr*)frame.sp; frame 129 src/pkg/runtime/traceback_arm.c flr = runtime·findfunc(frame.lr); frame 131 src/pkg/runtime/traceback_arm.c runtime·printf("runtime: unexpected return pc for %s called from %p\n", runtime·funcname(f), frame.lr); frame 137 src/pkg/runtime/traceback_arm.c frame.varp = (byte*)frame.fp; frame 146 src/pkg/runtime/traceback_arm.c frame.argp = (byte*)frame.fp + sizeof(uintptr); frame 148 src/pkg/runtime/traceback_arm.c frame.arglen = f->args; frame 150 src/pkg/runtime/traceback_arm.c frame.arglen = 0; frame 151 src/pkg/runtime/traceback_arm.c else if(frame.lr == (uintptr)runtime·lessstack) frame 152 src/pkg/runtime/traceback_arm.c frame.arglen = stk->argsize; frame 153 src/pkg/runtime/traceback_arm.c else if((i = runtime·funcarglen(flr, frame.lr)) >= 0) frame 154 src/pkg/runtime/traceback_arm.c frame.arglen = i; frame 157 src/pkg/runtime/traceback_arm.c runtime·funcname(f), frame.lr, flr ? runtime·funcname(flr) : "?"); frame 160 src/pkg/runtime/traceback_arm.c frame.arglen = 0; frame 173 src/pkg/runtime/traceback_arm.c if(frame.fp != frame.sp) { frame 174 src/pkg/runtime/traceback_arm.c sparg = frame.sp + sizeof(uintreg); frame 189 src/pkg/runtime/traceback_arm.c frame.continpc = frame.pc; frame 192 src/pkg/runtime/traceback_arm.c frame.continpc = (uintptr)panic->defer->pc; frame 194 src/pkg/runtime/traceback_arm.c frame.continpc = (uintptr)defer->pc; frame 196 src/pkg/runtime/traceback_arm.c frame.continpc = 0; frame 211 src/pkg/runtime/traceback_arm.c pcbuf[n] = frame.pc; frame 213 src/pkg/runtime/traceback_arm.c if(!callback(&frame, v)) frame 221 src/pkg/runtime/traceback_arm.c tracepc = frame.pc; // back up to CALL instruction for funcline. frame 222 src/pkg/runtime/traceback_arm.c if(n > 0 && frame.pc > f->entry && !waspanic) frame 225 src/pkg/runtime/traceback_arm.c for(i = 0; i < frame.arglen/sizeof(uintptr); i++) { frame 232 src/pkg/runtime/traceback_arm.c runtime·printhex(((uintptr*)frame.argp)[i]); frame 237 src/pkg/runtime/traceback_arm.c if(frame.pc > f->entry) frame 238 src/pkg/runtime/traceback_arm.c runtime·printf(" +%p", (uintptr)(frame.pc - f->entry)); frame 240 src/pkg/runtime/traceback_arm.c runtime·printf(" fp=%p sp=%p", frame.fp, frame.sp); frame 256 src/pkg/runtime/traceback_arm.c frame.pc = frame.lr; frame 257 src/pkg/runtime/traceback_arm.c frame.fn = flr; frame 258 src/pkg/runtime/traceback_arm.c frame.lr = 0; frame 259 src/pkg/runtime/traceback_arm.c frame.sp = frame.fp; frame 260 src/pkg/runtime/traceback_arm.c frame.fp = 0; frame 264 src/pkg/runtime/traceback_arm.c x = *(uintptr*)frame.sp; frame 265 src/pkg/runtime/traceback_arm.c frame.sp += 4; frame 266 src/pkg/runtime/traceback_arm.c frame.fn = f = runtime·findfunc(frame.pc); frame 268 src/pkg/runtime/traceback_arm.c frame.pc = x; frame 269 src/pkg/runtime/traceback_arm.c else if(f->frame == 0) frame 270 src/pkg/runtime/traceback_arm.c frame.lr = x; frame 37 src/pkg/runtime/traceback_x86.c Stkframe frame; frame 58 src/pkg/runtime/traceback_x86.c runtime·memclr((byte*)&frame, sizeof frame); frame 59 src/pkg/runtime/traceback_x86.c frame.pc = pc0; frame 60 src/pkg/runtime/traceback_x86.c frame.sp = sp0; frame 74 src/pkg/runtime/traceback_x86.c if(frame.pc == 0) { frame 75 src/pkg/runtime/traceback_x86.c frame.pc = *(uintptr*)frame.sp; frame 76 src/pkg/runtime/traceback_x86.c frame.sp += sizeof(uintreg); frame 79 src/pkg/runtime/traceback_x86.c f = runtime·findfunc(frame.pc); frame 82 src/pkg/runtime/traceback_x86.c runtime·printf("runtime: unknown pc %p\n", frame.pc); frame 87 src/pkg/runtime/traceback_x86.c frame.fn = f; frame 99 src/pkg/runtime/traceback_x86.c if(frame.pc == (uintptr)runtime·lessstack) { frame 101 src/pkg/runtime/traceback_x86.c frame.pc = stk->gobuf.pc; frame 102 src/pkg/runtime/traceback_x86.c frame.sp = stk->gobuf.sp; frame 103 src/pkg/runtime/traceback_x86.c frame.lr = 0; frame 104 src/pkg/runtime/traceback_x86.c frame.fp = 0; frame 105 src/pkg/runtime/traceback_x86.c frame.fn = nil; frame 110 src/pkg/runtime/traceback_x86.c f = runtime·findfunc(frame.pc); frame 112 src/pkg/runtime/traceback_x86.c runtime·printf("runtime: unknown pc %p after stack split\n", frame.pc); frame 116 src/pkg/runtime/traceback_x86.c frame.fn = f; frame 120 src/pkg/runtime/traceback_x86.c f = frame.fn; frame 129 src/pkg/runtime/traceback_x86.c if(f != nil && f->entry == (uintptr)runtime·sigtramp && frame.pc > f->entry) { frame 134 src/pkg/runtime/traceback_x86.c frame.continpc = frame.pc; frame 135 src/pkg/runtime/traceback_x86.c frame.argp = nil; frame 136 src/pkg/runtime/traceback_x86.c frame.arglen = 0; frame 137 src/pkg/runtime/traceback_x86.c if(!callback(&frame, v)) frame 140 src/pkg/runtime/traceback_x86.c r = (Context*)((uintptr*)frame.sp)[1]; frame 142 src/pkg/runtime/traceback_x86.c frame.pc = r->Rip; frame 143 src/pkg/runtime/traceback_x86.c frame.sp = r->Rsp; frame 145 src/pkg/runtime/traceback_x86.c frame.pc = r->Eip; frame 146 src/pkg/runtime/traceback_x86.c frame.sp = r->Esp; frame 148 src/pkg/runtime/traceback_x86.c frame.lr = 0; frame 149 src/pkg/runtime/traceback_x86.c frame.fp = 0; frame 150 src/pkg/runtime/traceback_x86.c frame.fn = nil; frame 153 src/pkg/runtime/traceback_x86.c f = runtime·findfunc(frame.pc); frame 155 src/pkg/runtime/traceback_x86.c runtime·printf("runtime: unknown pc %p after exception handler\n", frame.pc); frame 159 src/pkg/runtime/traceback_x86.c frame.fn = f; frame 166 src/pkg/runtime/traceback_x86.c if(frame.fp == 0) { frame 167 src/pkg/runtime/traceback_x86.c frame.fp = frame.sp + runtime·funcspdelta(f, frame.pc); frame 168 src/pkg/runtime/traceback_x86.c frame.fp += sizeof(uintreg); // caller PC frame 171 src/pkg/runtime/traceback_x86.c frame.lr = 0; frame 174 src/pkg/runtime/traceback_x86.c if(frame.lr == 0) frame 175 src/pkg/runtime/traceback_x86.c frame.lr = ((uintreg*)frame.fp)[-1]; frame 176 src/pkg/runtime/traceback_x86.c flr = runtime·findfunc(frame.lr); frame 178 src/pkg/runtime/traceback_x86.c runtime·printf("runtime: unexpected return pc for %s called from %p\n", runtime·funcname(f), frame.lr); frame 184 src/pkg/runtime/traceback_x86.c frame.varp = (byte*)frame.fp - sizeof(uintreg); frame 193 src/pkg/runtime/traceback_x86.c frame.argp = (byte*)frame.fp; frame 195 src/pkg/runtime/traceback_x86.c frame.arglen = f->args; frame 197 src/pkg/runtime/traceback_x86.c frame.arglen = 0; frame 198 src/pkg/runtime/traceback_x86.c else if(frame.lr == (uintptr)runtime·lessstack) frame 199 src/pkg/runtime/traceback_x86.c frame.arglen = stk->argsize; frame 200 src/pkg/runtime/traceback_x86.c else if((i = runtime·funcarglen(flr, frame.lr)) >= 0) frame 201 src/pkg/runtime/traceback_x86.c frame.arglen = i; frame 204 src/pkg/runtime/traceback_x86.c runtime·funcname(f), frame.lr, flr ? runtime·funcname(flr) : "?"); frame 207 src/pkg/runtime/traceback_x86.c frame.arglen = 0; frame 215 src/pkg/runtime/traceback_x86.c sparg = frame.sp; frame 229 src/pkg/runtime/traceback_x86.c frame.continpc = frame.pc; frame 232 src/pkg/runtime/traceback_x86.c frame.continpc = (uintptr)panic->defer->pc; frame 234 src/pkg/runtime/traceback_x86.c frame.continpc = (uintptr)defer->pc; frame 236 src/pkg/runtime/traceback_x86.c frame.continpc = 0; frame 251 src/pkg/runtime/traceback_x86.c pcbuf[n] = frame.pc; frame 253 src/pkg/runtime/traceback_x86.c if(!callback(&frame, v)) frame 262 src/pkg/runtime/traceback_x86.c tracepc = frame.pc; // back up to CALL instruction for funcline. frame 263 src/pkg/runtime/traceback_x86.c if(n > 0 && frame.pc > f->entry && !waspanic) frame 266 src/pkg/runtime/traceback_x86.c for(i = 0; i < frame.arglen/sizeof(uintptr); i++) { frame 273 src/pkg/runtime/traceback_x86.c runtime·printhex(((uintptr*)frame.argp)[i]); frame 278 src/pkg/runtime/traceback_x86.c if(frame.pc > f->entry) frame 279 src/pkg/runtime/traceback_x86.c runtime·printf(" +%p", (uintptr)(frame.pc - f->entry)); frame 281 src/pkg/runtime/traceback_x86.c runtime·printf(" fp=%p sp=%p", frame.fp, frame.sp); frame 297 src/pkg/runtime/traceback_x86.c frame.fn = flr; frame 298 src/pkg/runtime/traceback_x86.c frame.pc = frame.lr; frame 299 src/pkg/runtime/traceback_x86.c frame.lr = 0; frame 300 src/pkg/runtime/traceback_x86.c frame.sp = frame.fp; frame 301 src/pkg/runtime/traceback_x86.c frame.fp = 0;