summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/valgrind/memcheck_analyze.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/valgrind/memcheck_analyze.py b/tools/valgrind/memcheck_analyze.py
index f5ddf35..3c3b2bb 100755
--- a/tools/valgrind/memcheck_analyze.py
+++ b/tools/valgrind/memcheck_analyze.py
@@ -145,9 +145,10 @@ class ValgrindError:
output = self._kind + "\n"
for backtrace in self._backtraces:
output += backtrace[0] + "\n"
- filter = subprocess.Popen("c++filt", stdin=subprocess.PIPE,
+ filter = subprocess.Popen("c++filt -n", stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
+ shell=True,
close_fds=True)
buf = ""
for frame in backtrace[1]: