From 62a87287506cfb1a3d31b4a2751606ee1a4ce1fc Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Wed, 31 Jul 2019 00:59:10 +0000 Subject: [PATCH] [asan_symbolize] More debugging output When a line fails to match the stackframe regex we now report it in the log. rdar://problem/49476995 llvm-svn: 367380 --- compiler-rt/lib/asan/scripts/asan_symbolize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/lib/asan/scripts/asan_symbolize.py b/compiler-rt/lib/asan/scripts/asan_symbolize.py index 3d81fb9..46a23d6 100755 --- a/compiler-rt/lib/asan/scripts/asan_symbolize.py +++ b/compiler-rt/lib/asan/scripts/asan_symbolize.py @@ -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() -- 2.7.4