This is an archive of the discontinued LLVM Phabricator instance.

Don't crash sancov if file is unreadable.
ClosedPublic

Authored by vitalybuka on Mar 11 2016, 2:57 PM.

Details

Summary

Caller can provides the list of .so files where some files are
unreadable (e.g linux-vdso.so.1). It's more convenient to handler this in
sancov with warning then making all callers to check files.

Diff Detail

Event Timeline

vitalybuka updated this revision to Diff 50484.Mar 11 2016, 2:57 PM
vitalybuka retitled this revision from to Don't crash sancov if file is unreadable..
vitalybuka updated this object.
vitalybuka added a reviewer: aizatsky.
aizatsky accepted this revision.Mar 11 2016, 3:02 PM
aizatsky edited edge metadata.

LGTM

This revision is now accepted and ready to land.Mar 11 2016, 3:02 PM
vitalybuka edited edge metadata.Mar 11 2016, 3:05 PM
vitalybuka added a subscriber: llvm-commits.

Mike, could you please also commit this patch?

This revision was automatically updated to reflect the committed changes.