================
Comment at: test/tsan/thread_name.cc:18
@@ -17,3 +23,3 @@
 void *Thread2(void *x) {
-#if SANITIZER_LINUX && __GLIBC_PREREQ(2, 12)
   pthread_setname_np(pthread_self(), "Thread2");
----------------
BTW, shouldn't it be ##defined(__linux__) && ...##?
http://reviews.llvm.org/D5855