[Darwin][ASan] Fix "interceptor working?" check for DriverKit platform
The previous check for interceptors used `pthread_create()` which is not available on DriverKit. We need an intercepted symbol that satisfies the following constraints: - Symbol is available in DriverKit - Symbol is provided by simulator runtime dylibs (`dlsym()` fails to look up host-provided symbols) `puts()` satisfies all of the above constraints. rdar://87895539 Reviewed By: yln Differential Revision: https://reviews.llvm.org/D123245
Loading
Please register or sign in to comment