[PATCH] D12153: Support inline functions symbolization in Addr2Line symbolizer.

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 10:45:17 PDT 2015


m.ostepenko added a comment.

> > Crazy suggestion: whenever you need to symbolize a PC, feed this PC followed by 0xbadbadbad to addr2line. It will print just two lines (??, ??:0) for the latter, which means all the rest describe the symbolized location of PC (possibly, inlined).

> 

> 

> Hm, this should work. Max?


Yes, this works fine in script.

> We probably also need to update Addr2LineProcess and LLVMSymbolizer so that output for offline/online symbolizer is consistent.


We don't touch LLVMSymbolizer in asan_symbolize.py, so no need to modify it in library.


Repository:
  rL LLVM

http://reviews.llvm.org/D12153





More information about the llvm-commits mailing list