Could you put the patch up at Phabricator (<a href="http://llvm-reviews.chandlerc.com/">http://llvm-reviews.chandlerc.com/</a>)?<div><br></div><div><div><div class="gmail_quote">On Mon, Dec 3, 2012 at 7:15 AM, Kai <span dir="ltr"><<a href="mailto:kai@redstar.de" target="_blank">kai@redstar.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I started to work on support for emitting CodeView debug information.<br>
<br>
In order to support other debug information I extracted the used interface of the DwarfDebug class into an abstract class. After that I changed the AsmPrinter class to use the new interface. (Patch 0001)<br>
<br>
The next step is to enumerate all debug information types. The boolean variable SupportsDebugInformation is replaced by DebugInformationType which is based on an enumeration. (Patch 0002)<br>
<br>
During development I noticed that there is no possibility to get the return type from DISubprogramm if the return type is modelled as DIType. Because I need this functionality I added the support. (Patch 0003)<br>
(BTW: Does DISubprogram.Verify check the right thing in case the return<br>
type is modelled as DIType?)<br>
<br>
Finally I created the classes needed for CodeView debug symbol output. This is really work-in-progress and is not ready yet. Nevertheless it can output type information for simply signatures like int add(int,int). It is a proof of concept that the interface is working. (Patch 0004)<br>


<br>
I like to get review and comments on patches 0001-0003. Is my approach<br>
ok? If yes then I like to get these patches committed so that further<br>
updates to debug related classes can consider the new interface.<br>
<br>
Thank you very much!<br>
<br>
Regards<span class="HOEnZb"><font color="#888888"><br>
Kai<br>
</font></span><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Joćo Matos<br>
</div></div>