diff options
author | Dan Liew <dan@su-root.co.uk> | 2019-07-31 00:59:10 +0000 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2019-07-31 00:59:10 +0000 |
commit | 62a87287506cfb1a3d31b4a2751606ee1a4ce1fc (patch) | |
tree | 5526d41de4828ee1483b01adea81dd6a1d9bea6e /compiler-rt | |
parent | 51b1d858d3ed532e99a1cf6883ab2eb99c386513 (diff) | |
download | bcm5719-llvm-62a87287506cfb1a3d31b4a2751606ee1a4ce1fc.tar.gz bcm5719-llvm-62a87287506cfb1a3d31b4a2751606ee1a4ce1fc.zip |
[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
Diffstat (limited to 'compiler-rt')
-rwxr-xr-x | compiler-rt/lib/asan/scripts/asan_symbolize.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/scripts/asan_symbolize.py b/compiler-rt/lib/asan/scripts/asan_symbolize.py index 3d81fb986af..46a23d61630 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() |