Wagner Riffel
unread,Jun 8, 2019, 6:57:29 PM6/8/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to worths...@gmail.com, golang-nuts
This is totally possible, you can either use 'go tool nm' as suggest,
or 'go tool objdump', both tools can answer this question.
go tool objdump -s 'pkgname/internal' a.out
go tool nm a.out | grep 'pkgname/internal'
Be aware that testing against the shown examples, neither A() will be
present, by default go compiler will do inlining, you might want to
use //go:noinline directive.
BR.