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

Alexander Potapenko glider at google.com
Tue Mar 24 06:19:55 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
----------------
kubabrecka wrote:
> I think this needs to be `>=` rather than `==`.
Didn't you say atos doesn't support -d on Yosemite?

http://reviews.llvm.org/D8577

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






More information about the llvm-commits mailing list