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

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 08:41:09 PDT 2015


m.ostepenko updated this revision to Diff 32830.
m.ostepenko added a comment.

Updating following approach, suggested by Alexey. No regressions on x86_64-unknown-linux-gnu.

  $ ASAN_OPTIONS=allow_addr2line=1 ./test.x 
    #0 0x41f7de in __sanitizer_print_stack_trace /home/max/src/llvm/projects/compiler-rt/lib/asan/asan_stack.cc:38
    #1 0x4cec17 in FooBarBaz /tmp/test.c:4
    #2 0x4cec17 in main /tmp/test.c:8
    #3 0x7fe58102cec4 in __libc_start_main /build/buildd/eglibc-2.19/csu/libc-start.c:287
    #4 0x417ac5 in _start (/tmp/test.x+0x417ac5)


Repository:
  rL LLVM

http://reviews.llvm.org/D12153

Files:
  lib/asan/scripts/asan_symbolize.py
  lib/sanitizer_common/sanitizer_symbolizer_internal.h
  lib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
  lib/sanitizer_common/sanitizer_symbolizer_mac.cc
  lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12153.32830.patch
Type: text/x-patch
Size: 5775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150821/d1c82733/attachment.bin>


More information about the llvm-commits mailing list