<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Sep 11, 2017 at 4:10 PM Adrian Prantl via Phabricator <<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">aprantl added a comment.<br>
<br>
In <a href="https://reviews.llvm.org/D37714#867252" rel="noreferrer" target="_blank">https://reviews.llvm.org/D37714#867252</a>, @probinson wrote:<br>
<br>
> I would kind of like one option to dump whichever of .debug_info or .debug_info.dwo (etc) there is, so I don't have to know up front which section to be asking for.  Would also be more user-friendly to people who kind of know DWARF but not at that level of detail.<br>
<br>
<br>
Since the DWO and non-DWO variants rarely (never) appear in the same file, is there even a point in having a separate options?<br>
What about supporting both options, but --debug-info also implies --debug-info-dwo?<br></blockquote></div><div dir="ltr"><div class="gmail_quote"><div><br>I'd mostly be OK merging them, though they do come up in the same file as it comes out of llc (since llc doesn't run objcopy to split out the dwo file, etc) - might involve tweaking some tests.<br> </div></div></div><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
- adrian<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D37714" rel="noreferrer" target="_blank">https://reviews.llvm.org/D37714</a><br>
<br>
<br>
<br>
</blockquote></div></div></div>