From 9aec282de2b0c1ca16e2c24178ef62149f3404c6 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 11 Aug 2015 16:30:27 +0000 Subject: [PATCH] Speculative fix for Mac build llvm-svn: 244623 --- compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc index d130736..aeaa09b 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc @@ -47,7 +47,7 @@ class AtosSymbolizerProcess : public SymbolizerProcess { : SymbolizerProcess(path, /*use_forkpty*/ true) { // Put the string command line argument in the object so that it outlives // the call to GetArgV. - internal_snprintf(pid_str_, sizeof(pid_str_), "%d", parent_pid_); + internal_snprintf(pid_str_, sizeof(pid_str_), "%d", parent_pid); } private: -- 2.7.4