[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 06:21:37 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
----------------
glider wrote:
> kubabrecka wrote:
> > I think this needs to be `>=` rather than `==`.
> Didn't you say atos doesn't support -d on Yosemite?
Oh, you're right, sorry. Please disregard this then.
http://reviews.llvm.org/D8577
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list