This is an archive of the discontinued LLVM Phabricator instance.

[profile] Skip mmap() if there are no counters
ClosedPublic

Authored by vsk on May 18 2021, 4:37 PM.

Details

Summary

If there are no counters, an mmap() of the counters section would fail
due to the size argument being too small (EINVAL).

rdar://78175925

Diff Detail

Event Timeline

vsk requested review of this revision.May 18 2021, 4:37 PM
vsk created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2021, 4:37 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
phosek accepted this revision.May 18 2021, 5:02 PM

LGTM

This revision is now accepted and ready to land.May 18 2021, 5:02 PM
This revision was landed with ongoing or failed builds.May 19 2021, 9:32 AM
This revision was automatically updated to reflect the committed changes.