PTAL. I've added custom CFLAGS for Android (there are significant differencies, like not using a ...
12 years, 4 months ago
(2012-09-10 10:24:48 UTC)
#2
PTAL.
I've added custom CFLAGS for Android (there are significant differencies, like
not using a SEGV handler, and requiring LOW_MEMORY definition). Also added -ldl
for the runtime library and more.
https://codereview.appspot.com/6499083/diff/2001/lib/asan/tests/CMakeLists.txt
File lib/asan/tests/CMakeLists.txt (right):
https://codereview.appspot.com/6499083/diff/2001/lib/asan/tests/CMakeLists.tx...
lib/asan/tests/CMakeLists.txt:147: ${ASAN_UNITTEST_INSTRUMENTED_CFLAGS}
${ASAN_GTEST_INCLUDE_CFLAGS}
On 2012/09/06 13:38:29, samsonov wrote:
> Hm, can you use
> set_source_file_properties(${ASAN_NOINST_TEST_SOURCES}
> PROPERTIES COMPILE_FLAGS ...), same for INST_TEST_SOURCES and then just pass
all
> the sources to add_asan_test?
Does not work for some reason.
And it does not really make the code shorter.
Issue 6499083: CMake Android build rules for asan runtime and tests.
Created 12 years, 4 months ago by eugenis
Modified 12 years, 4 months ago
Reviewers: samsonov, Evgeniy Stepanov
Base URL: https://llvm.org/svn/llvm-project/compiler-rt/trunk/
Comments: 4