Suppress the stderr output from atos.

llvm-svn: 160502
This commit is contained in:
Alexander Potapenko 2012-07-19 12:01:07 +00:00
parent f364a63c3e
commit 628b349b17
1 changed files with 5 additions and 2 deletions

View File

@ -105,8 +105,11 @@ def symbolize_atos(line):
load_addr = "0x0"
if DEBUG:
print "atos -o %s -arch %s -l %s" % (binary, arch, load_addr)
pipes[binary] = subprocess.Popen(["atos", "-o", binary, "-arch", arch, "-l", load_addr],
stdin=subprocess.PIPE, stdout=subprocess.PIPE,)
cmd = ["atos", "-o", binary, "-arch", arch, "-l", load_addr]
pipes[binary] = subprocess.Popen(cmd,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
p = pipes[binary]
if filetype == "DYLIB":
print >>p.stdin, "%s" % offset