[llvm-bugs] [Bug 40760] New: Make llvm-symbolizer behave close to GNU's addr2line
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Feb 18 04:49:33 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40760
Bug ID: 40760
Summary: Make llvm-symbolizer behave close to GNU's addr2line
Product: tools
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-symbolizer
Assignee: unassignedbugs at nondot.org
Reporter: ikudrin at accesssoftek.com
CC: llvm-bugs at lists.llvm.org
We have several differences in the tool's behavior which make it hard to be a
drop-in replacement for addr2line.
In particular:
* llvm-symbolizer has -i, -f and -C options "on" by default;
* llvm-symbolizer prints line and position while addr2line prints only line.
* addr2line allows more flexible usage of the "-e" option.
For example "-fe <file>" and "-e<file>" command lines are allowed.
While we probably should not change the behavior of the existing tool, which
might affect parsers of its output, can we have another tool, say,
"llvm-addr2line", which would behave close to GNU's one? Something similar to
that we have with "llvm-readobj"/"llvm-readelf".
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190218/99e67c3a/attachment-0001.html>
More information about the llvm-bugs
mailing list