HomePhabricator

[llvm-symbolizer] Allow more flexible usage of -e.

Description

[llvm-symbolizer] Allow more flexible usage of -e.

addr2line allows -e to be grouped with other options; it also allows it
to prefix the value. Thus, all the following usages are possible:

  • addr2line -f -e <bin> <addr>
  • addr2line -fe <bin> <addr>
  • addr2line -f e<bin> <addr>
  • addr2line -fe<bin> <addr>

This patch adds the same for llvm-symbolizer.

Differential Revision: https://reviews.llvm.org/D60196

Details

Committed
ikudrinApr 4 2019, 1:45 AM
Differential Revision
D60196: [llvm-symbolizer] Allow more flexible usage of -e
Parents
rL357675: [llvm-symbolizer] Add `--output-style` switch.
Branches
Unknown
Tags
Unknown