[llvm-dev] [PDB] [JIT] Write to PDB file when COFFObjectFile is emitted by JIT

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 14 14:07:08 PDT 2018


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>


More information about the llvm-dev mailing list