Dave Cheney 6/19/2020

How to dump the GOSSAFUNC graph for a method

Read Original

This technical article details the process of dumping the Go compiler's SSA (Static Single Assignment) intermediate representation graph for specific functions and methods. It provides examples for both value and pointer receiver methods, explains the correct naming incantation for GOSSAFUNC, and addresses common pitfalls like shell quoting and file permissions.

How to dump the GOSSAFUNC graph for a method

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week