[PATCH] [ASan] Suppress the deprecation warning from atos that breaks AtosSymbolizer on OSX 10.9

Kuba Brecka kuba.brecka at gmail.com
Tue Mar 24 05:21:18 PDT 2015


================
Comment at: sanitizer_symbolizer_mac.cc:61
@@ -59,2 +60,3 @@
     internal_snprintf(pid_str, sizeof(pid_str), "%d", parent_pid_);
-    execl(path_to_binary, path_to_binary, "-p", pid_str, (char *)0);
+    if (GetMacosVersion() == MACOS_VERSION_MAVERICKS) {
+      // On Mavericks atos prints a deprecation warning which we suppress by
----------------
I think this needs to be `>=` rather than `==`.

http://reviews.llvm.org/D8577

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list