From 937afa1fbb242538ce0112d5a8f0a88e0bad01f1 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Tue, 3 Jun 2014 15:25:43 +0000 Subject: [PATCH] [sancov] Handle spaces in module name. llvm-svn: 210108 --- compiler-rt/lib/sanitizer_common/scripts/sancov.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler-rt/lib/sanitizer_common/scripts/sancov.py b/compiler-rt/lib/sanitizer_common/scripts/sancov.py index 0f4d28e..4769530 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/sancov.py +++ b/compiler-rt/lib/sanitizer_common/scripts/sancov.py @@ -84,11 +84,10 @@ def UnpackOneRawFile(path, map_path): bits = int(f_map.readline()) for line in f_map: parts = line.rstrip().split() - assert len(parts) == 4 mem_map.append((int(parts[0], 16), int(parts[1], 16), int(parts[2], 16), - parts[3])) + ' '.join(parts[3:]))) mem_map.sort(key=lambda m : m[0]) mem_map_keys = [m[0] for m in mem_map] -- 2.7.4