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=undefinedwith a locally built libclang_rt.ubsan_osx_dynamic.dylib.
| Paths 
 |  Differential  D124059  
[compiler-rt][sanitizers] build ubsan, asan etc libraries with Mac Catalyst support ClosedPublic Authored by thakis on Apr 19 2022, 7:47 PM. 
Details Summary 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=undefinedwith a locally built libclang_rt.ubsan_osx_dynamic.dylib. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Apr 20 2022, 5:50 AM Closed by commit rG7d2cc882d5e0: [compiler-rt][sanitizers] build ubsan, asan etc libraries with Mac Catalyst… (authored by thakis).  ·  Explain WhyApr 20 2022, 6:22 AM This revision was automatically updated to reflect the committed changes. Comment Actions @delcypher This is another catalyst-related change that you probably have internally in some form. 
Revision Contents 
Diff 423889 compiler-rt/cmake/Modules/AddCompilerRT.cmake
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||