forked from OSchip/llvm-project
![]() MmapFixedNoReserve does not terminate process on failure. Failure to check its result and die will always lead to harder to debug crashes later in execution. This was observed in Go processes due to some address space conflicts. Consistently check result of MmapFixedNoReserve. While we are here also add warn_unused_result attribute to prevent such bugs in future and change return type to bool as that's what all callers want. Reviewed in https://reviews.llvm.org/D49367 llvm-svn: 337531 |
||
---|---|---|
.. | ||
.clang-format | ||
CMakeLists.txt | ||
hwasan.cc | ||
hwasan.h | ||
hwasan.syms.extra | ||
hwasan_allocator.cc | ||
hwasan_allocator.h | ||
hwasan_blacklist.txt | ||
hwasan_dynamic_shadow.cc | ||
hwasan_dynamic_shadow.h | ||
hwasan_flags.h | ||
hwasan_flags.inc | ||
hwasan_interceptors.cc | ||
hwasan_interface_internal.h | ||
hwasan_linux.cc | ||
hwasan_mapping.h | ||
hwasan_new_delete.cc | ||
hwasan_poisoning.cc | ||
hwasan_poisoning.h | ||
hwasan_report.cc | ||
hwasan_report.h | ||
hwasan_thread.cc | ||
hwasan_thread.h |