[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
Mon Jun 17 18:06:28 PDT 2019


delcypher added a comment.

@vitalybuka Sorry I forgot about this. I tried to make the test to work in a POSIX use case and I can't make it work. The problem is that when I use `%M` with `stack_trace_format` the module name gets stripped (i.e. an absolute path to the binary just becomes the file name of the binary) due to the call to `StripModuleName()`. This results in us not being able to symbolicate the report from the python script because we don't have the absolute path to the binaries we need to access to perform symbolication.

I have no idea why for `%M` we strip the module name but when `%L` is in fallback mode, we don't. This seems oddly inconsistent.

Anyway. Given that I can't make the posix version of the test right now I'll land this as it is.


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60533/new/

https://reviews.llvm.org/D60533





More information about the llvm-commits mailing list