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 NULL return value from dlopen #230

Closed
wants to merge 1 commit into from

Conversation

EbsHirani
Copy link
Contributor

Solves #229

Copy link
Contributor

@camelid camelid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @EbsHirani, thanks for this PR! The fix itself looks good, but I'd prefer you remove the new flag to coz.

coz
@@ -185,6 +188,10 @@ _run_parser.add_argument('--fixed-speedup',
type=int, choices=list(range(0, 101)), default=None,
help='Evaluate optimizations of a specific amount')

_run_parser.add_argument('--debug-libraries',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I see a point to adding a flag for this when users can just use LD_DEBUG=libs directly when running coz. Can you remove the changes to this 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 this pull request may close these issues.

3 participants