Dmitri Makarov via llvm-dev
2017-Jul-20 17:12 UTC
[llvm-dev] status of DebugInfo/PDB/Native
Hello, Is anyone working on implementing DebugInfo/PDB that doesn't depend on DIA? What would it take to have minimal implementation that would allow to take a PDB file and look up symbols using llvm-symbolizer on a non-Windows (e.g. Linux or MacOS) platform? Regards, Dmitri -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170720/cb0f08be/attachment.html>
Reid Kleckner via llvm-dev
2017-Jul-20 17:18 UTC
[llvm-dev] status of DebugInfo/PDB/Native
Adrian is actually working on that, but with more of an eye towards getting LLDB to read PDBs on non-Windows OSs. It might also be useful to get llvm-symbolizer working as an intermediate step in that work. On Thu, Jul 20, 2017 at 10:12 AM, Dmitri Makarov via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hello, > > Is anyone working on implementing DebugInfo/PDB that doesn't depend on > DIA? What would it take to have minimal implementation that would allow to > take a PDB file and look up symbols using llvm-symbolizer on a non-Windows > (e.g. Linux or MacOS) platform? > > Regards, > > Dmitri > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170720/bc570c1c/attachment.html>
Dmitri Makarov via llvm-dev
2017-Jul-20 17:35 UTC
[llvm-dev] status of DebugInfo/PDB/Native
It seems that the very minimal implementation would need to fill in the body of NativeSession::findSymbolByAddress() which currently returns nullptr. I'm not familiar with the code, but if someone could outline what need to be done and if it can be done in a week or so I would be willing to do that. Regards, Dmitri On Thu, Jul 20, 2017 at 7:18 PM, Reid Kleckner <rnk at google.com> wrote:> Adrian is actually working on that, but with more of an eye towards > getting LLDB to read PDBs on non-Windows OSs. It might also be useful to > get llvm-symbolizer working as an intermediate step in that work. > > On Thu, Jul 20, 2017 at 10:12 AM, Dmitri Makarov via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hello, >> >> Is anyone working on implementing DebugInfo/PDB that doesn't depend on >> DIA? What would it take to have minimal implementation that would allow to >> take a PDB file and look up symbols using llvm-symbolizer on a non-Windows >> (e.g. Linux or MacOS) platform? >> >> Regards, >> >> Dmitri >> >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170720/4e29afac/attachment.html>
Adrian McCarthy via llvm-dev
2017-Jul-20 17:40 UTC
[llvm-dev] status of DebugInfo/PDB/Native
Yes, as Reid says, I'm working on that. Under DebugInfo/PDB, you'll see an abstract API for accessing PDB symbols. There's currently one concrete implementation under DebugInfo/PDB/DIA, which (surprise) uses DIA. I'm working on a non-API implementation under DebugInfo/PDB/Native. My first goal is to get llvm-pdbutil to pretty-print the contents of a PDB using this Native reader. From there, I was planning to integrate into LLDB. llvm-symbolizer wasn't on my radar, but it makes sense. On Thu, Jul 20, 2017 at 10:18 AM, Reid Kleckner <rnk at google.com> wrote:> Adrian is actually working on that, but with more of an eye towards > getting LLDB to read PDBs on non-Windows OSs. It might also be useful to > get llvm-symbolizer working as an intermediate step in that work. > > On Thu, Jul 20, 2017 at 10:12 AM, Dmitri Makarov via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hello, >> >> Is anyone working on implementing DebugInfo/PDB that doesn't depend on >> DIA? What would it take to have minimal implementation that would allow to >> take a PDB file and look up symbols using llvm-symbolizer on a non-Windows >> (e.g. Linux or MacOS) platform? >> >> Regards, >> >> Dmitri >> >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170720/2e1a2326/attachment-0001.html>