forked from OSchip/llvm-project
4a547fb62d
Summary: Use `-Wl,-z,global` for all Sanitizer shared libraries on Android. We want them to be in the global group (https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#changes-to-library-search-order) to avoid any alloc/dealloc mismatch between the libc allocator & said library. `audioserver` was one of the binary that exhibited the problem with Scudo, this seems to fix it. [edited for accuracy] Reviewers: eugenis, alekseyshl Reviewed By: eugenis Subscribers: kubamracek, srhines, mgorny, delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D49198 llvm-svn: 337010 |
||
---|---|---|
.. | ||
.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 |