Ahh i see, maybe there is no way to avoid the duplication then.  Still wish I remembered why I did that, because now the code looks odd.<br><br>Anyway, lgtm<br><div class="gmail_quote"><div dir="ltr">On Tue, Mar 13, 2018 at 9:24 PM Aaron Smith via Phabricator <<a href="mailto:reviews@reviews.llvm.org">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">asmith added a comment.<br>
<br>
findLineNumbersByAddress() uses findLinesByVA/RVA and findSymbolByAddress() uses findSymbolByVA/RVA.<br>
<br>
Do you still want them factored out into two methods: findLinesByVAOrRVA and findSymbolByVAOrRVA?<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D44407" rel="noreferrer" target="_blank">https://reviews.llvm.org/D44407</a><br>
<br>
<br>
<br>
</blockquote></div>