[PATCH] D60770: [llvm-symbolizer] Make the output with `-output-style=GNU` closer to addr2line's

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 04:57:11 PDT 2019


ikudrin created this revision.
ikudrin added reviewers: rupprecht, jhenderson.
ikudrin added a project: LLVM.

This is an extract from D60067 <https://reviews.llvm.org/D60067>. It addresses two differences in the output of llvm-symbolizer and GNU's addr2line:

- llvm-symbolizer prints an empty line after the report of each address.
- With "-f -i=0", llvm-symbolizer replaces the name of an inlined function with the name from the symbol table, i. e., the top caller function in the inlining chain. addr2line preserves the name of the inlined function.


Repository:
  rL LLVM

https://reviews.llvm.org/D60770

Files:
  test/tools/llvm-symbolizer/output-style.test
  tools/llvm-symbolizer/llvm-symbolizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60770.195354.patch
Type: text/x-patch
Size: 5259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190416/fdfe77db/attachment.bin>


More information about the llvm-commits mailing list