[asan_symbolize] Attempt to fix build-bot failure after latest change

llvm-svn: 369929
This commit is contained in:
Alexander Richardson 2019-08-26 17:11:25 +00:00
parent 3ba0f3c9b7
commit 2511b5a463
1 changed files with 4 additions and 0 deletions

View File

@ -198,6 +198,10 @@ class Addr2LineSymbolizer(Symbolizer):
assert not file_name, file_name
logging.debug("got empty function name -> no more input")
break
if not function_name and not file_name:
logging.debug("got empty function and file name -> unknown function")
function_name = '??'
file_name = '??:0'
lines.append((function_name, file_name));
except BrokenPipeError:
logging.debug("got broken pipe, addr2line returncode=%d" % self.pipe.poll())