When linking scudo standalone on armv7, it can't find symbols related to unwinding (e.g. __aeabi_unwind_cpp_pr0). This is because it is passing --unwindlib=none. This patch hacks around the issue by adding COMPILER_RT_UNWINDER_LINK_LIBS to the link line. I don't know anything about scudo, so I'm not sure what the original intention was. See also https://github.com/llvm/llvm-project/issues/56900 Differential Revision: https://reviews.llvm.org/D131250 |
||
|---|---|---|
| .. | ||
| standalone | ||
| CMakeLists.txt | ||
| scudo_allocator.cpp | ||
| scudo_allocator.h | ||
| scudo_allocator_combined.h | ||
| scudo_allocator_secondary.h | ||
| scudo_crc32.cpp | ||
| scudo_crc32.h | ||
| scudo_errors.cpp | ||
| scudo_errors.h | ||
| scudo_flags.cpp | ||
| scudo_flags.h | ||
| scudo_flags.inc | ||
| scudo_interface_internal.h | ||
| scudo_malloc.cpp | ||
| scudo_new_delete.cpp | ||
| scudo_platform.h | ||
| scudo_termination.cpp | ||
| scudo_tsd.h | ||
| scudo_tsd_exclusive.cpp | ||
| scudo_tsd_exclusive.inc | ||
| scudo_tsd_shared.cpp | ||
| scudo_tsd_shared.inc | ||
| scudo_utils.cpp | ||
| scudo_utils.h | ||