3 ms·
Probably worth mentioning the blog post too: https://blog.minio.io/c2goasm-c-to-go-assembly-bb723d2f777f https://blog.minio.io/c2goasm-c-to-go-assembly-bb723d2f
by justinclift 9y ago
Probably worth mentioning the blog post too: https://blog.minio.io/c2goasm-c-to-go-assembly-bb723d2f777f https://blog.minio.io/c2goasm-c-to-go-assembly-bb723d2f777f
Out of curiosity, any idea how well does Go asm works with Delve (the Go debugger)?
- fwessels 9y agoThat is a good question but have never tried it. However, there is nothing "special" about the assembly as ported by c2goasm, so it should equally well as any other (hand-crafted) assembly.
- akavel 9y agoHaven't tried it personally, but based on a recent article shared at r/golang (https://rakyll.org/coredumps/ https://rakyll.org/coredumps/, via https://www.reddit.com/r/golang/comments/6cvtd6/debugging_go_core_dumps_with_delve/ https://www.reddit.com/r/golang/comments/6cvtd6/debugging_go...), delve seems to show the contents of an .s file allright.
- justinclift 9y agoThanks, that's a useful article. Just wish core dumping Go programs worked on OSX. Hopefully one day. :)