Is anyone able to get the Address-Sanitizer (known as asan or -fsanitize=address) working on iOS?
问题 Address-Sanitizer https://code.google.com/p/address-sanitizer/wiki/AddressSanitizer I have compile my own llvm (pretty straight forward compiling) because apple's llvm not support this function. I have tested the clang for mac command line program, it works (but without showing the line the sourcecode). for iOS, there is still some problems: compile simulator version : report error for pre-compiled header: In file included from /Users/fluke/Documents/projects/tmp/testAsanNoARC/testAsanNoARC