This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Rework dieOnMapUnmapError
ClosedPublic

Authored by cryptoad on May 24 2021, 9:26 AM.

Details

Summary

Said function had a few shortfalls:

  • didn't set an abort message on Android
  • was logged on several lines
  • didn't provide extra information like the size requested if OOM'ing

This improves the function to address those points.

Diff Detail

Event Timeline

cryptoad requested review of this revision.May 24 2021, 9:26 AM
cryptoad created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2021, 9:26 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
hctim accepted this revision.May 24 2021, 9:59 AM

LGTM

This revision is now accepted and ready to land.May 24 2021, 9:59 AM
vitalybuka accepted this revision.May 24 2021, 10:12 AM
This revision was automatically updated to reflect the committed changes.