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

DwarfWalker: clean up interfaces for findDieName and findName #1154

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

hainest
Copy link
Contributor

@hainest hainest commented Nov 17, 2021

findDieName always returned 'true', so any checks for its return value
were meaningless. It was also not clear that 'findName' would modify its
argument. The new interface removes that surprise by making the name the
return value.

findDieName always returned 'true', so any checks for its return value
were meaningless. It was also not clear that 'findName' would modify its
argument. The new interface removes that surprise by making the name the
return value.
@hainest hainest added Symtab This issue is directly related to SymtabAPI DWARF Item is related to DWARF parsing labels Nov 17, 2021
@hainest hainest requested a review from kupsch November 17, 2021 18:19
@hainest hainest self-assigned this Nov 17, 2021
@hainest
Copy link
Contributor Author

hainest commented Nov 17, 2021

Copy link
Contributor

@kupsch kupsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@hainest hainest merged commit 71027cb into master Nov 18, 2021
@hainest hainest deleted the thaines/cleanup_DwarfWalker_die_name branch November 18, 2021 00:51
bbiiggppiigg pushed a commit to bbiiggppiigg/dyninst that referenced this pull request Dec 7, 2021
…t#1154)

findDieName always returned 'true', so any checks for its return value
were meaningless. It was also not clear that 'findName' would modify its
argument. The new interface removes that surprise by making the name the
return value.

Co-authored-by: Tim Haines <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DWARF Item is related to DWARF parsing Symtab This issue is directly related to SymtabAPI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants