[PATCH] [compiler-rt] Fix checks for Android.
Dan Albert
danalbert at google.com
Sat Oct 18 17:31:11 PDT 2014
Hi eugenis, srhines,
__ANDROID__ is a define that comes from the toolchain when building
for Android targets. ANDROID has a different meaning. ANDROID is
defined for _every_ Android build, including those done for host
modules. For host modules, we want to build the regular Linux
sanitizers and builtins, not the one for Android devices. This hasn't
been a problem until now because we only just started building the
sanitizers for the host.
http://reviews.llvm.org/D5861
Files:
lib/asan/tests/asan_test.cc
lib/builtins/clear_cache.c
lib/sanitizer_common/sanitizer_platform.h
lib/sanitizer_common/tests/sanitizer_test_utils.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5861.15125.patch
Type: text/x-patch
Size: 3986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141019/949cf3de/attachment.bin>
More information about the llvm-commits
mailing list