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

Don't check for existing return type when parsing DWARF subprogram #1509

Merged
merged 1 commit into from Sep 6, 2023

Conversation

hainest
Copy link
Contributor

@hainest hainest commented Sep 5, 2023

Since 8b400af, functions are guaranteed to only be parsed once, so the return type can never be set before the call here. Checking the return type circularly invokes Symtab::parseTypesNow which deadlocks since 7f1e24d.

Since 8b400af, functions are guaranteed to only be parsed once, so the
return type can never be set before the call here. Checking the return
type circularly invokes Symtab::parseTypesNow which deadlocks since
7f1e24d.
@hainest hainest added bug Symtab This issue is directly related to SymtabAPI DWARF Item is related to DWARF parsing labels Sep 5, 2023
@hainest hainest requested a review from kupsch September 5, 2023 20:14
@hainest hainest self-assigned this Sep 5, 2023
@hainest hainest merged commit 7acb767 into master Sep 6, 2023
2 checks passed
@hainest hainest deleted the thaines/dwarfWalker_setFunctReturnType branch September 6, 2023 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 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