Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug/dwarf: API #2844

Closed
rsc opened this issue Feb 2, 2012 · 2 comments
Closed

debug/dwarf: API #2844

rsc opened this issue Feb 2, 2012 · 2 comments
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Feb 2, 2012

There are some TODO(rsc) in the public API that should be addressed.
Shoud point at elf.File, macho.File, pe.File's DWARF methods.
@rsc
Copy link
Contributor Author

rsc commented Feb 16, 2012

Comment 1:

debug/dwarf says
func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, error)
    New returns a new Data object initialized from the given parameters.
    Clients should typically use [TODO(rsc): method to be named later]
    instead of calling New directly.
and the answer for the TODO is to use the DWARF method on the File type
in debug/elf, debug/macho, or debug/pe.

@robpike
Copy link
Contributor

robpike commented Feb 17, 2012

Comment 2:

This issue was closed by revision a15f59e.

Status changed to Fixed.

@rsc rsc added fixed labels Feb 17, 2012
@rsc rsc self-assigned this Feb 17, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants