Like D118875, but for ubsan, asan, etc.
With this, I can successfully run:
    bin/clang++ -target x86_64-apple-ios14.0-macabi foo.cc \
        -isysroot $(xcrun -show-sdk-path) -fsanitize=undefined
with a locally built libclang_rt.ubsan_osx_dynamic.dylib.
Differential Revision: https://reviews.llvm.org/D124059
						
					
				
			 | 
			||
|---|---|---|
| .. | ||
| AddCompilerRT.cmake | ||
| AllSupportedArchDefs.cmake | ||
| BuiltinTests.cmake | ||
| CheckSectionExists.cmake | ||
| CompilerRTAIXUtils.cmake | ||
| CompilerRTCompile.cmake | ||
| CompilerRTDarwinUtils.cmake | ||
| CompilerRTLink.cmake | ||
| CompilerRTMockLLVMCMakeConfig.cmake | ||
| CompilerRTUtils.cmake | ||
| SanitizerUtils.cmake | ||
| UseLibtool.cmake | ||