[sanitizer] sancov.py: print status to stderr
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 25 Dec 2014 16:01:09 +0000 (16:01 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 25 Dec 2014 16:01:09 +0000 (16:01 +0000)
llvm-svn: 224840

compiler-rt/lib/sanitizer_common/scripts/sancov.py

index 4769530..37268cf 100755 (executable)
@@ -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: