Branch: Tag:

2022-09-22

2022-09-22 09:35:42 by Tobias S. Josefowitz <tobij@tobij.de>

Debug.generate_perf_map(): Handle memory locations > MAX_INT_TYPE

2470:    && !ref->inherit_offset) {    PIKE_OPCODE_T *pc = p->program + id->func.offset;    struct svalue sv; -  SET_SVAL(sv, PIKE_T_INT, NUMBER_NUMBER, integer, PTR_TO_INT(pc)); +  +  ulongest_to_svalue_no_free(&sv, (UINT64)PTR_TO_INT(pc)); +     mapping_string_insert(m, id->name, &sv); -  +  free_svalue(&sv);    }    }