[compiler-rt] r367380 - [asan_symbolize] More debugging output
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 30 17:59:11 PDT 2019
Author: delcypher
Date: Tue Jul 30 17:59:10 2019
New Revision: 367380
URL: http://llvm.org/viewvc/llvm-project?rev=367380&view=rev
Log:
[asan_symbolize] More debugging output
When a line fails to match the stackframe regex we now report
it in the log.
rdar://problem/49476995
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=367380&r1=367379&r2=367380&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py (original)
+++ compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py Tue Jul 30 17:59:10 2019
@@ -463,6 +463,7 @@ class SymbolizationLoop(object):
'^( *#([0-9]+) *)(0x[0-9a-f]+) *(?:in *.+)? *\((.*)\+(0x[0-9a-f]+)\)')
match = re.match(stack_trace_line_format, line)
if not match:
+ logging.debug('Line "{}" does not match regex'.format(line))
return [self.current_line]
logging.debug(line)
_, frameno_str, addr, binary, offset = match.groups()
More information about the llvm-commits
mailing list