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

Handle open failures in ld-analyse more gracefully #725

Merged
merged 4 commits into from
May 17, 2022

Conversation

atsampson
Copy link
Collaborator

Fixes #724.

Starting ld-analyse with an invalid filename will now give a more useful error dialogue.

If either of the two error conditions has occurred here, then the source
metadata will be invalid and there's no need to do the rest of the
processing on it (and indeed this now trips an assert).
This message wasn't being used before -- it's helpful because it
explains a bit more about what's gone wrong.
@atsampson atsampson added enhancement ld-decode-tools An issue only affecting the ld-decode-tools labels May 16, 2022
@atsampson atsampson requested a review from simoninns May 16, 2022 20:54
@simoninns simoninns merged commit c9a9a6f into happycube:master May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ld-decode-tools An issue only affecting the ld-decode-tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ld-analyse core-dumps when given an invalid TBC filename
2 participants