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

Support C++ friendship #86

Open
Tracked by #328
osandov opened this issue Jan 11, 2021 · 0 comments
Open
Tracked by #328

Support C++ friendship #86

osandov opened this issue Jan 11, 2021 · 0 comments
Labels
C++ Support for C++ debugging enhancement New feature or request

Comments

@osandov
Copy link
Owner

osandov commented Jan 11, 2021

Friendship isn't very important to debugging use cases as far as I can tell, but it'd be good to include this information for completeness. We need to:

  1. Add a list of friends to drgn.Type/struct drgn_type. Friends can be other classes or functions, so I'm not sure yet how to represent these.
  2. Parse the DWARF information for friendship. See section 5.7.5 (Friends) in the DWARF 5 spec.
  3. Include friendship when pretty printing types.
@osandov osandov added enhancement New feature or request C++ Support for C++ debugging labels Jan 11, 2021
@osandov osandov changed the title Support friend classes Support C++ friendship Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Support for C++ debugging enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant