[PATCH] [RFC] Compiler-RT on ARM via CMake
Renato Golin
renato.golin at linaro.org
Wed Jan 29 09:52:21 PST 2014
Update:
I've changed a few bits:
1. Added "arm" to all *san in compiler-rt
2. Removed the lit.config restrictions on ARM after Alexey's commit
3. Added a hack check on Clang to look for "arm" instead of getArchName()
With all that, make check-all fails only three tests in Asan:
AddressSanitizer-Unit :: Asan-arm-Noinst-Test/AddressSanitizer.ThreadedMallocStressTest
AddressSanitizer-Unit :: Asan-arm-Noinst-Test/AddressSanitizer.ThreadedOneSizeMallocStressTest
AddressSanitizer-Unit :: Asan-arm-Noinst-Test/AddressSanitizer.ThreadedQuarantineTest
All with the same error message:
AddressSanitizer: detect_leaks is not supported on this platform.
Investigating the source, it seems that leak detection is x86_64 only, but I haven't found a way to disable only those three unit-tests, as I don't want to disable them all, since the rest passes. It seems we only need that to get compiler-rt working with CMake for ARM.
http://llvm-reviews.chandlerc.com/D2604
More information about the llvm-commits
mailing list