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