[sancov] Handle spaces in module name.

llvm-svn: 210108
This commit is contained in:
Evgeniy Stepanov 2014-06-03 15:25:43 +00:00
parent aa31609fb8
commit 937afa1fbb
1 changed files with 1 additions and 2 deletions

View File

@ -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]