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

flitelf: fix _gen_file_line_table for empty dwarfinfo #258

Merged
merged 1 commit into from
Apr 5, 2019

Conversation

mikebentley15
Copy link
Collaborator

Fixes #256

Description:
I created a new branch in _gen_file_line_table() in flitelf.py that exits early if the dwarfinfo is empty.

Documentation:
None. This was a bug against expected behavior.

Tests:
I added a doctest to the function for an empty dwarfinfo object.

@mikebentley15 mikebentley15 requested a review from IanBriggs April 5, 2019 00:21
@IanBriggs IanBriggs merged commit 3538059 into devel Apr 5, 2019
@IanBriggs IanBriggs deleted the issue256-fix-file-line-table-bug branch April 5, 2019 14:50
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