<div dir="auto">+1 for the shorter options.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 8, 2017 2:25 PM, "Adrian Prantl via llvm-dev" <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would like to grow llvm-dwarfdump to become a drop-in replacement for the dwarfdump utility that is currently shipping on Darwin. (You can search the web for "darwin dwarfdump manpage" to see the currently supported feature set.) Doing this means implementing the missing features, such as the ability to print only subsets of DIEs, looking up DIEs by name or address, and the option to produce more diff-friendly output. I'm fairly certain that these additional features will be beneficial on all LLVM-suported platforms.<br>
To turn it into a drop-in replacement on Darwin, I will also need to re-orgnize the command line interface a bit. In particular (and this is pretty much the only difference)<br>
<br>
$ llvm-dwarfdump --debug-dump=info<br>
$ llvm-dwarfdump --debug-dump=apple-objc<br>
<br>
becomes<br>
<br>
$ dwarfdump --debug-info<br>
$ dwarfdump --apple-objc<br>
<br>
respectively.<br>
My question is, how attached are users on other platforms to the current command line interface? I could easily create a separate command line parser for Darwin that mimicks Darwin dwarfdump (like llvm-objdump does), or we could just change the command line interface for llvm-dwarfdump. I know that there is also a dwarfdump utility on Linux (based on libdwarf?) that has an entirely different command line interface from both llvm-dwarfdump and Darwin dwarfdump.<br>
Do people see value in keeping the llvm-dwarfdump command line interface or would changing it to the above format be acceptable?<br>
<br>
thanks for your input!<br>
Adrian<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>