[compiler-rt] r218071 - [asan] Fix a bug in asan_symbolize.py

Sergey Matveev earthdok at google.com
Thu Sep 18 12:16:44 PDT 2014


Author: smatveev
Date: Thu Sep 18 14:16:44 2014
New Revision: 218071

URL: http://llvm.org/viewvc/llvm-project?rev=218071&view=rev
Log:
[asan] Fix a bug in asan_symbolize.py

Do not forget to add newlines between multiple symbolized lines corresponding to
a single input line (i.e. inlining).

Modified:
    compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py

Modified: compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py?rev=218071&r1=218070&r2=218071&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py (original)
+++ compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py Thu Sep 18 14:16:44 2014
@@ -382,7 +382,7 @@ class SymbolizationLoop(object):
       if not line:
         break
       processed = self.process_line(line)
-      print ''.join(processed)
+      print '\n'.join(processed)
 
   def process_line(self, line):
     self.current_line = line.rstrip()





More information about the llvm-commits mailing list