go-delve / delve

Delve is a debugger for the Go programming language.
MIT License
22.38k stars 2.13k forks source link

proc: generalize escapeCheck and allocString #3687

Closed aarzilli closed 2 months ago

aarzilli commented 3 months ago

Generalizes the function for checking for escaping pointers so that it can be used to iterate on all pointers of a variable.

Also generalizes the string allocation opcodes so that in the future we can use it to call other special runtime functions (for example: map access, channel send/receive, etc)