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

Remove DwarfWalker::setModuleFromName #1546

Merged
merged 1 commit into from Oct 7, 2023

Conversation

hainest
Copy link
Contributor

@hainest hainest commented Sep 28, 2023

It's replaced with the updated Symtab::findModuleByOffset. Finding by name was always unnecessary as we know the offset of the current DIE.

This is a step toward removing the broken Symtab::findModuleByName.

@hainest hainest added code cleanup Bring the code up to modern standards or remove deprecated features Symtab This issue is directly related to SymtabAPI DWARF Item is related to DWARF parsing labels Sep 28, 2023
@hainest hainest requested a review from kupsch September 28, 2023 22:05
@hainest hainest self-assigned this Sep 28, 2023
@hainest
Copy link
Contributor Author

hainest commented Sep 28, 2023

I'm an idiot. This shouldn't be checked until #1545 is merged.

@hainest hainest force-pushed the thaines/dwarfwalker_setModuleByName branch from a9fd238 to 1713880 Compare September 29, 2023 19:56
It's replaced with the updated Symtab::findModuleByOffset. Finding by
name was always unnecessary as we know the offset of the current DIE.
@hainest hainest force-pushed the thaines/dwarfwalker_setModuleByName branch from 1713880 to 5fc7475 Compare October 7, 2023 04:56
@hainest hainest merged commit 74fc6e5 into master Oct 7, 2023
3 checks passed
@hainest hainest deleted the thaines/dwarfwalker_setModuleByName branch October 7, 2023 20:44
bbiiggppiigg pushed a commit that referenced this pull request Feb 12, 2024
It's replaced with the updated Symtab::findModuleByOffset. Finding by
name was always unnecessary as we know the offset of the current DIE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Bring the code up to modern standards or remove deprecated features 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.

None yet

2 participants