[PATCH] D18212: [sanitizer] On OS X, verify that interceptors work and abort if not, take 2

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 08:54:53 PDT 2016

dvyukov added a comment.

> The issue is that TSan unit tests run with a statically linked runtime, where interceptors don't work, but that's fine, we don't need them.

What is the difference between that unit test and normal programs? Normal programs also link tsan runtime statically (or is not the case on Mac?). Can we instead make the test more like a normal program so that it does not need any special handling? Adding runtime flags for the sake of a single weird test does not look good to me.


More information about the llvm-commits mailing list