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

Make Symtab::getContainingInlinedFunction lazy parsing threadsafe #1452

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

hainest
Copy link
Contributor

@hainest hainest commented Jul 19, 2023

This fix does not address the thread safety issues in Symtab::parseFunctionRanges. That function is still thread unsafe and will require separate modifications.

@jmellorcrummey @mwkrentel This should allow you to remove the need to explicitly call parseFunctionRanges before calling findModuleByOffset. It does not fix #1446. That will be a separate PR.

This fix does not address the thread safety issues in
Symtab::parseFunctionRanges. That function is still thread unsafe and
will require separate modifications.
@hainest hainest added bug ABI-BREAKER This change alters the Dyninst public ABI Symtab This issue is directly related to SymtabAPI user-reported This issue was reported by someone outside of the core Dyninst developers labels Jul 19, 2023
@hainest hainest requested a review from kupsch July 19, 2023 15:41
@hainest hainest self-assigned this Jul 19, 2023
@hainest
Copy link
Contributor Author

hainest commented Jul 21, 2023

@jmellorcrummey @mwkrentel I'm going to merge this because I need it for the next set of fixes for #1446.

@hainest hainest merged commit 649e43f into master Jul 21, 2023
@hainest hainest deleted the make_symtab_lazy_func_eval_threadsafe branch July 21, 2023 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ABI-BREAKER This change alters the Dyninst public ABI bug Symtab This issue is directly related to SymtabAPI user-reported This issue was reported by someone outside of the core Dyninst developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Locking around Symtab::mod_lookup
2 participants