[compiler-rt] r210108 - [sancov] Handle spaces in module name.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue Jun 3 08:25:44 PDT 2014
Author: eugenis
Date: Tue Jun 3 10:25:43 2014
New Revision: 210108
URL: http://llvm.org/viewvc/llvm-project?rev=210108&view=rev
Log:
[sancov] Handle spaces in module name.
Modified:
compiler-rt/trunk/lib/sanitizer_common/scripts/sancov.py
Modified: compiler-rt/trunk/lib/sanitizer_common/scripts/sancov.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/scripts/sancov.py?rev=210108&r1=210107&r2=210108&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/scripts/sancov.py (original)
+++ compiler-rt/trunk/lib/sanitizer_common/scripts/sancov.py Tue Jun 3 10:25:43 2014
@@ -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]
More information about the llvm-commits
mailing list