<div dir="ltr">AFAIK Wine's implementation of dbghelp.dll includes code for reading PDB files.<br><br>Cheers,<br clear="all">--<br>Ehsan<br><<a href="http://ehsanakhgari.org/">http://ehsanakhgari.org/</a>><br>
<br><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 5:07 PM, Sandeep Patel <span dir="ltr"><<a href="mailto:deeppatel1987@gmail.com">deeppatel1987@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

It looks like the format is pretty well described at<br>
<a href="http://ccimetadata.codeplex.com" target="_blank">http://ccimetadata.codeplex.com</a><br>
<br>
deep<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Mar 23, 2012 at 6:54 PM, Joe Abbey <<a href="mailto:jabbey@arxan.com">jabbey@arxan.com</a>> wrote:<br>
> The PDB file format is historically undocumented.  We've been trying to get<br>
> a copy of the spec for years, and have even held several calls with MSFT<br>
> compiler teams and they've been unwilling to provide documentation.  I'm<br>
> thinking this alone is a blocker to complete any forward progress on this<br>
> effort.<br>
><br>
> The DIA SDK does provide PDB reading capabilities, but no emission.  While I<br>
> agree that it would be extraordinarily cool to have, unless you want to<br>
> reverse engineer the proprietary format, I'm afraid it's a dead-end.<br>
><br>
> Joe<br>
><br>
> Joe Abbey<br>
> Director of S/W Development<br>
> Arxan Technologies, Inc.<br>
> 1305 Cumberland Ave, Ste 215<br>
> West Lafayette, IN 47906<br>
> <a href="mailto:jabbey@arxan.com">jabbey@arxan.com</a><br>
> <a href="http://www.arxan.com" target="_blank">www.arxan.com</a><br>
><br>
> On Mar 23, 2012, at 2:43 PM, David Chisnall wrote:<br>
><br>
> On 23 Mar 2012, at 17:42, Svyatoslav Kuzmich wrote:<br>
><br>
> I would like to implement support of VIsual Studio debug info format (*.pdb)<br>
> as part of Google SoC 2012.<br>
><br>
> Is it suitable for Clang? Is there someone who want to mentor for this<br>
> project?<br>
><br>
><br>
> It certainly sounds interesting and worthwhile, but it would be a pretty<br>
> huge project - I don't think you could expect to complete it in the 10 weeks<br>
> of the GSoC.  Have you looked at the complexity of the existing debug info<br>
> stuff in LLVM (this is more of an LLVM project than a clang one, since clang<br>
> would emit the same debug info to the IR, it would just be translated<br>
> differently into the final output) and do you have documentation for the pdb<br>
> format?  For it to be a good project for the GSoC, you'd need to split it<br>
> into a series of smaller steps and indicate how long you thought each one<br>
> would take.<br>
><br>
> Please don't take this as discouragement - better Windows support is<br>
> definitely something that we'd like to see, and being able to use Clang and<br>
> the Visual Studio debugger would make a lot of people I know happy...<br>
><br>
> David<br>
><br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
><br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div>