Hi, this patch adds a basic support for running the ASan lit test suite against an iOS Simulator. This is done by generating more lit.site.cfg configurations into subdirectories such as IOSSimI386Config and IOSSimX86_64Config. These test suites are not added into "check-all" or into "check-asan" (and I don't even plan to add them there), and they have to be run manually, plus you need to specify which device to use (you usually have plenty of simulators installed):
$ SANITIZER_IOSSIM_TEST_DEVICE_IDENTIFIER=BBE44C1C-8AAA-4000-8D06-91C89ED58172 $ ./bin/llvm-lit ./projects/compiler-rt/test/asan/IOSSimI386Config
There will be plenty of failing tests, but I'll work on those later.