[all-commits] [llvm/llvm-project] ced95a: [scudo] Descriptive Fucshia errors
Caslyn Tonelli via All-commits
all-commits at lists.llvm.org
Mon Apr 17 10:38:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ced95a5765f5743761e72685ecc944dde990305a
https://github.com/llvm/llvm-project/commit/ced95a5765f5743761e72685ecc944dde990305a
Author: Caslyn Tonelli <caslyn at google.com>
Date: 2023-04-17 (Mon, 17 Apr 2023)
Changed paths:
M compiler-rt/lib/scudo/standalone/fuchsia.cpp
Log Message:
-----------
[scudo] Descriptive Fucshia errors
`dieOnError` in fuchsia.cpp takes the syscall name, status code, and
relevant size parameter to describe what failed, the reason, and size
context. Several different Fuchsia syscalls can fail underlying Scudo's
map operation and gets hidden if using `dieOnMapUnmapError`.
The reason for this change is to provide an error status code and more
helpful information to debug failures.
More information about the All-commits
mailing list