On Thu, Nov 15, 2018 at 7:55 PM Michael Jones <michael.jo...@gmail.com> wrote:
> You could study Rob Pike’s coverage/profiling tool to see how he adds and > exploits basic block counting. Good work as always. > Good idea, thanks. I had a look at the implementation of it, and at the way it is integrated into the go toolchain. Unfortunately, it doesn't seem possible to include extra compilation stages in the toolchain. I was hoping for a way to insert an extra step to be able to modify the AST to insert tracepoints. So, for example, coverage is built inside `go test` by directly calling `go cover`, and it doesn't use any plugin interface :( -- Julio Guerra -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.