[PATCH] D60533: [asan_symbolize] Teach `asan_symbolize.py` to symbolicate partially symbolicated ASan reports.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 12:28:17 PDT 2019


delcypher created this revision.
delcypher added reviewers: kubamracek, yln, samsonov, dvyukov, vitalybuka.
Herald added subscribers: Sanitizers, aprantl.
Herald added projects: LLVM, Sanitizers.

The use case here is to be able symbolicate ASan reports that might be
partially symbolicated, in particular where the function name is known but no source
location is available. This can be caused by missing debug info. Previously we
would only try to symbolicate completely unsymbolicated reports.

The code currently contains an unfortunate quirk to handle a darwin
specific bug (rdar://problem/49784442) in the way partially symbolicated
reports are emitted when the source location is missing.

rdar://problem/49476995


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D60533

Files:
  lib/asan/scripts/asan_symbolize.py
  test/asan/TestCases/Darwin/asan-symbolize-partial-report-with-module-map.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60533.194570.patch
Type: text/x-patch
Size: 4600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190410/7e0d6f13/attachment.bin>


More information about the llvm-commits mailing list