[PATCH] D31474: Update suspended threads info to be compatible with darwin

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 11:46:53 PDT 2017


kcc added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_stoptheworld.h:20
 
+#if SANITIZER_MAC
+#include <mach/mach.h>
----------------
please avoid any #if/#ifdef in this file (and in most others). 
If you need something platform-specific, put it into a platform-specific file


https://reviews.llvm.org/D31474





More information about the llvm-commits mailing list