From 4c04a8aaf1b72bfa38241410b595e6554d71ac59 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Mon, 2 Jun 2014 09:04:45 +0000 Subject: [sancov] Remove debug leftovers and update usage text. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210009 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/sanitizer_common/scripts/sancov.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/sanitizer_common/scripts') diff --git a/lib/sanitizer_common/scripts/sancov.py b/lib/sanitizer_common/scripts/sancov.py index dfb65b2db..0f4d28e20 100755 --- a/lib/sanitizer_common/scripts/sancov.py +++ b/lib/sanitizer_common/scripts/sancov.py @@ -15,7 +15,8 @@ def Usage(): print >> sys.stderr, "Usage: \n" + \ " " + prog_name + " merge file1 [file2 ...] > output\n" \ " " + prog_name + " print file1 [file2 ...]\n" \ - " " + prog_name + " unpack file1 [file2 ...]\n" + " " + prog_name + " unpack file1 [file2 ...]\n" \ + " " + prog_name + " rawunpack file1 [file2 ...]\n" exit(1) def ReadOneFile(path): @@ -91,7 +92,6 @@ def UnpackOneRawFile(path, map_path): mem_map.sort(key=lambda m : m[0]) mem_map_keys = [m[0] for m in mem_map] - print mem_map with open(path, mode="rb") as f: print >> sys.stderr, "%s: unpacking %s" % (prog_name, path) @@ -109,8 +109,6 @@ def UnpackOneRawFile(path, map_path): if pc == 0: continue map_idx = bisect.bisect(mem_map_keys, pc) - 1 (start, end, base, module_path) = mem_map[map_idx] - print pc - print start, end, base, module_path assert pc >= start if pc >= end: print >> sys.stderr, "warning: %s: pc %x outside of any known mapping" % (prog_name, pc) -- cgit v1.2.3