Index: test/tsan/dl_iterate_phdr.cc =================================================================== --- test/tsan/dl_iterate_phdr.cc +++ test/tsan/dl_iterate_phdr.cc @@ -3,6 +3,9 @@ // If we mention TSAN_OPTIONS, the test won't run from test_output.sh script. +// dl_iterate_phdr only exists on Linux and FreeBSD. +// UNSUPPORTED: darwin + #ifdef BUILD_SO #include "test.h"