aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorEnna1 <xumingjie.enna1@bytedance.com>2024-09-17 09:53:17 +0800
committerGitHub <noreply@github.com>2024-09-17 09:53:17 +0800
commita20794b574803677e6407bdccef136d2e1622535 (patch)
tree49bfda913bb9fc1cbdf4491814034dedb86456bb /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parent7b3d4e38ddd15b294bd32d34e7f5e194840a4dbd (diff)
downloadllvm-a20794b574803677e6407bdccef136d2e1622535.zip
llvm-a20794b574803677e6407bdccef136d2e1622535.tar.gz
llvm-a20794b574803677e6407bdccef136d2e1622535.tar.bz2
[Sanitizer] Call Die() instead of Abort() when failed to reserve shadow memory range (#107833)
I grep the code and find that `Abort()` is only called in `Die()` when the flag `abort_on_error` is set. Thus, if reserving shadow memory range fails, `Die()` rather than `Abort()` should be called. In this case, the flag `abort_on_error` will be respected and the die callbacks will be called.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions