[PATCH] [asan] disable fast unwind on ARM
Greg Fitzgerald
gregf at codeaurora.org
Fri May 16 18:44:04 PDT 2014
Hi samsonov,
Fast unwind is disabled for aarch64. Following suit. This patch fixes the following lit tests:
Linux/malloc_delete_mismatch.cc
Posix/start-deactivated.cc
deep_stack_uaf.cc
double-free.cc
invalid-free.cc
large_func_test.cc
http://reviews.llvm.org/D3814
Files:
lib/sanitizer_common/sanitizer_stacktrace.h
Index: lib/sanitizer_common/sanitizer_stacktrace.h
===================================================================
--- lib/sanitizer_common/sanitizer_stacktrace.h
+++ lib/sanitizer_common/sanitizer_stacktrace.h
@@ -21,7 +21,7 @@
#if SANITIZER_LINUX && (defined(__aarch64__) || defined(__powerpc__) || \
defined(__powerpc64__) || defined(__sparc__) || \
- defined(__mips__))
+ defined(__mips__) || defined(__arm__))
# define SANITIZER_CAN_FAST_UNWIND 0
#elif SANITIZER_WINDOWS
# define SANITIZER_CAN_FAST_UNWIND 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3814.9501.patch
Type: text/x-patch
Size: 594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140517/53d26883/attachment.bin>
More information about the llvm-commits
mailing list