[scudo] Rework dieOnMapUnmapError
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.
Bug: 188581099
Test: Ran special test that causes failure and observed message is correct.
Differential Revision: https://reviews.llvm.org/D103034
GitOrigin-RevId: 1872283457fc1617fa750a11abdfd44e881dfcdb
Change-Id: Idc91a4187ddc9ad1aef8ab85ca021a6e2cc65566
Merged-In: Idc91a4187ddc9ad1aef8ab85ca021a6e2cc65566
(cherry picked from commit c79ab1b2c1bbd2c950f847beac577745fb660aee)
6 files changed