[compiler-rt] r369929 - [asan_symbolize] Attempt to fix build-bot failure after latest change
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 10:11:25 PDT 2019
Author: arichardson
Date: Mon Aug 26 10:11:25 2019
New Revision: 369929
URL: http://llvm.org/viewvc/llvm-project?rev=369929&view=rev
Log:
[asan_symbolize] Attempt to fix build-bot failure after latest change
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=369929&r1=369928&r2=369929&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py (original)
+++ compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py Mon Aug 26 10:11:25 2019
@@ -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())
More information about the llvm-commits
mailing list