Why doesn't read it at all I need to discussion all tools

On Fri, 7 Mar 2025, 5:22 am Zhang Jie (Kn), <hit.zhang...@gmail.com> wrote:

> 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
> <https://groups.google.com/d/msgid/golang-nuts/2f0a65a1-49d0-4e69-b6ea-ca3bb437171an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAKrJ9PF61X3MOmdrp5s7JXXs9qqQzNoTLVSa9e%2BOAciUK6heZw%40mail.gmail.com.

Reply via email to