[ASan] Do not buffer stdin in asan_symbolize.py

llvm-svn: 183006
This commit is contained in:
Alexander Potapenko 2013-05-31 14:55:06 +00:00
parent 65281bf36e
commit 41cd6102e9
1 changed files with 4 additions and 1 deletions

View File

@ -328,7 +328,10 @@ class SymbolizationLoop(object):
def process_stdin(self):
self.frame_no = 0
for line in sys.stdin:
while True:
line = sys.stdin.readline()
if not line:
break
self.current_line = line.rstrip()
#0 0x7f6e35cf2e45 (/blah/foo.so+0x11fe45)
stack_trace_line_format = (