<div dir="ltr">The alias sounds good.<div><br></div><div>I think there has been a lot of scope creep in the various LLVM binary utilities. Originally, they were just knock-off, single-purpose, useful programs, but now users want command line compatibility and format-string compatible output. I don't have any strong objections against being more drop-in compatible, but I do want to point out that this is revisiting some pretty early design decisions, so it's not necessarily going to be easy.<br></div><div><br></div><div>Good luck! :)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 19, 2019 at 4:15 AM Igor Kudrin via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello everyone,<br>
<br>
The latest efforts made "llvm-symbolizer" to behave very close to GNU's "addr2line" tool.<br>
However, there are still some differences, which prevent it to be a drop-in replacement.<br>
In particular:<br>
<br>
* "llvm-symbolizer" has "-I", "-f" and "-C" options ON by default;<br>
<br>
* "llvm-symbolizer" prints line and position while "addr2line" prints only a line.<br>
<br>
* "addr2line" allows more flexible usage of the "-e" option.<br>
  For example, "-fe <file>" and "-e<file>" command lines are handled smoothly.<br>
<br>
We probably should not change the behavior of the existing tool, which might affect,<br>
for example, parsers of its output. But what if we create another tool, say, "llvm-addr2line",<br>
in the same way as "llvm-readelf" co-exists with "llvm-readobj"? That tool might<br>
follow the behavior of "addr2line" better without risking to break compatibility<br>
for current users of "llvm-symbolizer".<br>
<br>
What do you think?<br>
<br>
Best Regards,<br>
Igor Kudrin<br>
C++ Developer, Access Softek, Inc.​<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>