[PATCH] D56272: [llvm-symbolizer] Add support for specifying input addresses on the command-line

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 3 08:11:40 PST 2019


jhenderson created this revision.
jhenderson added reviewers: dblaikie, probinson, MaskRay, ruiu.
Herald added a subscriber: llvm-commits.

See https://bugs.llvm.org/show_bug.cgi?id=40070.

GNU addr2line accepts input addresses both on the command-line and via stdin. llvm-symbolizer previously only supported the latter. This change adds support for the former. As with addr2line, the new behaviour is to only look for addresses on stdin if no positional arguments were provided to llvm-symbolizer.


Repository:
  rL LLVM

https://reviews.llvm.org/D56272

Files:
  test/tools/llvm-symbolizer/basic.s
  tools/llvm-symbolizer/llvm-symbolizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56272.180080.patch
Type: text/x-patch
Size: 4607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190103/2a354cb3/attachment.bin>


More information about the llvm-commits mailing list