diff options
author | Andrew Haberlandt <ndrewh@users.noreply.github.com> | 2025-09-17 09:15:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-17 09:15:39 -0700 |
commit | 8fb02fae9957e828e91b4844bc7514fb319ec5d9 (patch) | |
tree | 2310bb33c04cec1f9c3815908a1b7f4dc0309c72 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 2b0f25d9c3fbabce9e53f349ee6775157755e91d (diff) | |
download | llvm-8fb02fae9957e828e91b4844bc7514fb319ec5d9.zip llvm-8fb02fae9957e828e91b4844bc7514fb319ec5d9.tar.gz llvm-8fb02fae9957e828e91b4844bc7514fb319ec5d9.tar.bz2 |
[sanitizer-common][Darwin] Improve mach_vm_region_recurse error handling (#158670)
Some sanitizers use mach_vm_region_recurse on macOS to find a
sufficiently large gap to allocate shadow memory. Some sandboxes do not
allow this.
When we get KERN_DENIED, we suggest to the user that it may have been
blocked by the sandbox.
For error codes other than KERN_INVALID_ADDRESS and KERN_DENIED, we make
sure to log a message and not use the address.
rdar://160625998
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions