HomePhabricator

[llvm-symbolizer] Add `--output-style` switch.

Authored by ikudrin on Apr 4 2019, 1:39 AM.

Description

[llvm-symbolizer] Add --output-style switch.

In general, llvm-symbolizer follows the output style of GNU's addr2line.
However, there are still some differences; in particular, for a requested
address, llvm-symbolizer prints line and column, while addr2line prints
only the line number.

This patch adds a new switch to select the preferred style.

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

llvm-svn: 357675

Details

Committed
ikudrinApr 4 2019, 1:39 AM
Differential Revision
D60190: [llvm-symbolizer] Add `--output-style` switch.
Parents
rG8911c5be46b9: [InstCombine] Combine no-wrap sub and icmp w/ constant.
Branches
Unknown
Tags
Unknown