[PATCH] Support for separate debug info files in asan symbolize script

Maria Guseva m.guseva at samsung.com
Mon Aug 18 03:50:04 PDT 2014


>>! In D4902#4, @samsonov wrote:
> Why can't you use llvm-symbolizer? This tool implements searching for separate debug info files (looking at /usr/lib/debug, calculating crc32 hashes and so on). I was sure that addr2line does this as well. This should be the responsibility of the tools we invoke through asan_symbolize.py script, not the script itself.

I am using gcc and GNU binutils, not llvm. You are right, the separate debug info is supported by addr2line tool. But I need it to work with sysroot defined also. The other way could be to add such functionality to addr2line instead of patching the script.  
So if you don't find the patch generally useful I agree it must be rejected.

http://reviews.llvm.org/D4902






More information about the llvm-commits mailing list