[PATCH] D12490: [asan] Intercept and wrap XPC callback blocks

Alexander Potapenko via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 04:11:46 PDT 2015


glider accepted this revision.
glider added a comment.
This revision is now accepted and ready to land.

LGTM if xpc.h available on all OSX versions for which ASan is supported.


================
Comment at: lib/asan/asan_mac.cc:47
@@ -45,3 +46,3 @@
 #include <unistd.h>
-#include <libkern/OSAtomic.h>
+#include <xpc/xpc.h>
 
----------------
Is this header available on all OSX versions we're targeting?


http://reviews.llvm.org/D12490





More information about the llvm-commits mailing list