From 01b922d9f2e25375d7a306af37c2956129118f17 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 25 Dec 2014 16:01:09 +0000 Subject: [PATCH] [sanitizer] sancov.py: print status to stderr llvm-svn: 224840 --- compiler-rt/lib/sanitizer_common/scripts/sancov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/scripts/sancov.py b/compiler-rt/lib/sanitizer_common/scripts/sancov.py index 4769530..37268cf 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/sancov.py +++ b/compiler-rt/lib/sanitizer_common/scripts/sancov.py @@ -118,7 +118,7 @@ def UnpackOneRawFile(path, map_path): if len(pc_list) == 0: continue assert path.endswith('.sancov.raw') dst_path = module_path + '.' + os.path.basename(path)[:-4] - print "writing %d PCs to %s" % (len(pc_list), dst_path) + print >> sys.stderr, "writing %d PCs to %s" % (len(pc_list), dst_path) arr = array.array('I') arr.fromlist(sorted(pc_list)) with open(dst_path, 'ab') as f2: -- 2.7.4