[PATCH] D27405: Make sancov.py py3-compatible

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 00:37:27 PST 2017


chapuni marked an inline comment as done.
chapuni added inline comments.


================
Comment at: compiler-rt/trunk/lib/sanitizer_common/scripts/sancov.py:93
     s = ReadOneFile(files[0])
-    print >> sys.stderr, "%s: 1 file merged; %d PCs total" % \
-      (prog_name, len(s))
+    sys.stderr.write("%s: 1 file merged; %d PCs total" % (prog_name, len(s)))
   for i in s:
----------------
I will add \n here later, too.


Repository:
  rL LLVM

https://reviews.llvm.org/D27405





More information about the llvm-commits mailing list