Page MenuHomePhabricator

[libFuzzer] Print a correct error message when a director can't be opened
ClosedPublic

Authored by alex on Apr 5 2018, 6:53 AM.

Details

Summary

Currently if the directory cannot be opened for a reason other than non-existence (e.g. too many open file descriptors) the error message printed is incredibly confusing.

Diff Detail

Repository
rL LLVM

Event Timeline

alex created this revision.Apr 5 2018, 6:53 AM
Herald added subscribers: Restricted Project, llvm-commits, delcypher. · View Herald TranscriptApr 5 2018, 6:53 AM
morehouse accepted this revision.Apr 6 2018, 9:34 AM

LGTM.

This revision is now accepted and ready to land.Apr 6 2018, 9:34 AM
alex added a comment.Apr 6 2018, 10:44 AM

@morehouse I'm not familiar with the LLVM development process, what's the next step now that this has been reviewed?

If you're new to LLVM, you won't have commit access, so I'll land this patch for you.

After you have a few good patches submitted, you can request commit access: https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access.

This revision was automatically updated to reflect the committed changes.