>From the output of `readelf -l <app>` , we can see `.note.go.buildid` and `.text` sections are both loaded.
I want to know why `.note.go.buildid` is loaded, it seems go source code doesn't read it at all. I read the discussion here: https://github.com/golang/go/issues/68652. Looks like gobuildid should be used only in go build tools. I searched and only `go tool pprof` uses the `buildid`, but it is the GNU buildID rather than go buildID ps: `ParseMemoryMap -> elfBuildID`, `elfBuildID` only read the GNU buildID. -- 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. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/2f0a65a1-49d0-4e69-b6ea-ca3bb437171an%40googlegroups.com.