[PartitionAlloc] Make some error handling more concise
Also fix a bug: `PCHECK` may itself allocate, creating re-entrancy problems, so we can't use it as a way to learn the `errno`. Instead, create a `PA_PCHECK` macro that uses `base::debug::Alias`. Bug: None Change-Id: Ic17e7c09d620e8f1f38da8b64a45fbfeeeac3b5e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2546084 Commit-Queue: Chris Palmer <palmer@chromium.org> Reviewed-by:Benoit L <lizeb@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#829859}
Showing
Please register or sign in to comment