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

[debuginfo] Don't return an error when it isn't possible to resolve a name #195

Closed
calixteman opened this issue Mar 12, 2020 · 0 comments · Fixed by #201
Closed

[debuginfo] Don't return an error when it isn't possible to resolve a name #195

calixteman opened this issue Mar 12, 2020 · 0 comments · Fixed by #201

Comments

@calixteman
Copy link
Contributor

Some functions are skipped because an error is returned when trying to resolve a function name using a reference.
I met some case where the references (via abstract_origin) are wrong (they don't point to a DIE).
If such a function is an inlinee then the inliner is skipped which is pretty bad.
I think that in such a case the resolve_function_name should return something like <name omitted>, it's probably better to have an incomplete information instead of removing the inliner.
We could do the same for resolve_file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant