Skip to content

Code optimizations #118

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

Merged
merged 4 commits into from
Jun 28, 2018
Merged

Code optimizations #118

merged 4 commits into from
Jun 28, 2018

Conversation

pedronavf
Copy link
Contributor

Improve how CU DIEs are iterated by only processing those whose tag is DW_TAG_compile_unit. Reset (ie, advance to the end) libdwarf's CU iterator only if we found a CU as, if not, we will be already be at the end.

Pedro Navarro added 4 commits May 25, 2018 17:33
When iterating through all the CU DIEs, only inspect those that have the
DW_TAG_compile_unit tag. When finishing the iteration, only keep going
to reset libdwarf's internal CU iterator if we found a DIE.
@bombela bombela merged commit 84ae4f5 into bombela:master Jun 28, 2018
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 this pull request may close these issues.

2 participants