[PATCH] [sanitizer] Android build cleanup.
Evgeniy Stepanov
eugenis at google.com
Tue Sep 23 09:02:32 PDT 2014
Hi samsonov,
- Detect Android toolchain target arch and set runtime library name appropriately.
- Merged a lot of Android and non-Android code paths.
- Android is only supported in standalone build of compiler-rt now.
- Linking lsan-common in ASan-Android (makes lsan annotations work).
- Relying on -fsanitize=address linker flag when building tests (again, unification with non-Android path).
- Runtime library moved from lib/asan to lib/linux for some reason. It's probably better this way.
Btw, why separate compiler setting for tests? Will it go away when we switch to standalone build?
http://reviews.llvm.org/D5467
Files:
CMakeLists.txt
cmake/Modules/AddCompilerRT.cmake
cmake/config-ix.cmake
lib/asan/CMakeLists.txt
lib/asan/scripts/asan_device_setup
lib/asan/tests/CMakeLists.txt
lib/interception/CMakeLists.txt
lib/lsan/CMakeLists.txt
lib/sanitizer_common/CMakeLists.txt
lib/sanitizer_common/tests/CMakeLists.txt
test/asan/CMakeLists.txt
test/asan/lit.cfg
test/asan/lit.site.cfg.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5467.13996.patch
Type: text/x-patch
Size: 20180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140923/dc0f8c44/attachment.bin>
More information about the llvm-commits
mailing list