Vivien Millet via llvm-dev
2018-Mar-08 12:23 UTC
[llvm-dev] [PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
Is it possible to write a .pdb file containing the debug info stored in a COFFObjectFile once the NotifyObjectEmitted is triggered by the JIT compiler ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180308/3c25cddd/attachment.html>
Lang Hames via llvm-dev
2018-Mar-10 03:00 UTC
[llvm-dev] [PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
Hi Vivien, I'm not familiar with Windows development, but I believe you could dump the object file to disk then run LINK.EXE to produce the PDB. Alternatively, I think LLD can also produce PDB files (Rui -- is that right?), in which case you may be able to use that. Is the aim to be able to debug JIT'd code? Which debugger do you plan to use? -- Lang. On Thu, Mar 8, 2018 at 4:23 AM, Vivien Millet via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Is it possible to write a .pdb file containing the debug info stored in a > COFFObjectFile once the NotifyObjectEmitted is triggered by the JIT > compiler ? > > _______________________________________________ > 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/20180309/f98ad9a3/attachment.html>
Rui Ueyama via llvm-dev
2018-Mar-14 21:07 UTC
[llvm-dev] [PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
On Fri, Mar 9, 2018 at 7:00 PM Lang Hames <lhames at gmail.com> wrote:> Hi Vivien, > > I'm not familiar with Windows development, but I believe you could dump > the object file to disk then run LINK.EXE to produce the PDB. > Alternatively, I think LLD can also produce PDB files (Rui -- is that > right?), in which case you may be able to use that. >Yes, lld can produce PDB files.> Is the aim to be able to debug JIT'd code? Which debugger do you plan to > use? > > -- Lang. > > > On Thu, Mar 8, 2018 at 4:23 AM, Vivien Millet via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Is it possible to write a .pdb file containing the debug info stored in a >> COFFObjectFile once the NotifyObjectEmitted is triggered by the JIT >> compiler ? >> >> _______________________________________________ >> 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/20180314/8853f4b8/attachment.html>
Seemingly Similar Threads
- [PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
- [PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
- [PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
- [PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT
- [Dwarf] Register a local variable in DIBuilder and locate it later with a DwarfContext