Also, even if we make DILineInfo and treat it as a format agnostic container, we will still need something to wrap that on the PDB side, because DebugInfoPDB library only supplies that information through pdb specific interfaces.  So I'm not sure it buys us much.  <br><div class="gmail_quote">On Mon, Apr 20, 2015 at 6:11 PM Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There had been significant discussion about producing a Format agnostic<br>
debug info interface, but we all kind of decided that it would be<br>
impossible in the general case, or at the very least extremely difficult.<br>
Most situations don't require consuming both types of debug info so we<br>
decided it would be best to defer this kind of abstraction to the places<br>
that needed it.<br>
<br>
We might be able to move a few specific utility classes to a common level,<br>
but I don't think it would work in the general case.<br>
<br>
The context, session information, way that you make queries against the<br>
debug info are fundamentally different.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D9111" target="_blank">http://reviews.llvm.org/D9111</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</blockquote></div>