This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Handle access errors while reading profile
ClosedPublic

Authored by maksfb on Dec 6 2022, 3:56 PM.

Details

Summary

When the user does not have permissions to access the profile, consume
the error contained in Expected<> to avoid dumping stack to the user.

Diff Detail

Event Timeline

maksfb created this revision.Dec 6 2022, 3:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2022, 3:56 PM
maksfb requested review of this revision.Dec 6 2022, 3:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2022, 3:56 PM
maksfb updated this revision to Diff 481108.Dec 7 2022, 4:37 PM

Rebase.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 7 2022, 5:12 PM
This revision was automatically updated to reflect the committed changes.