Lines Matching refs:cbctx
59 SymbolizeCodeContext cbctx;
60 internal_memset(&cbctx, 0, sizeof(cbctx));
61 cbctx.pc = addr;
62 go_runtime_cb(CallbackSymbolizeCode, &cbctx);
63 if (cbctx.res) {
65 info.module_offset = cbctx.off;
66 info.function = internal_strdup(cbctx.func ? cbctx.func : "??");
67 info.file = internal_strdup(cbctx.file ? cbctx.file : "-");
68 info.line = cbctx.line;
86 SymbolizeDataContext cbctx;
87 internal_memset(&cbctx, 0, sizeof(cbctx));
88 cbctx.addr = addr;
89 go_runtime_cb(CallbackSymbolizeData, &cbctx);
90 if (!cbctx.res)
92 if (cbctx.heap) {
93 MBlock *b = ctx->metamap.GetBlock(cbctx.start);
97 loc->heap_chunk_start = cbctx.start;
104 loc->global.name = internal_strdup(cbctx.name ? cbctx.name : "??");
105 loc->global.file = internal_strdup(cbctx.file ? cbctx.file : "??");
106 loc->global.line = cbctx.line;
107 loc->global.start = cbctx.start;
108 loc->global.size = cbctx.size;