MS-COFF/PDB support in LLVM/LDC, where are we at?

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 15 00:06:56 PDT 2017


On Thursday, 15 June 2017 at 01:34:01 UTC, Manu wrote:
> Hey people, I haven't checked in for a while, I'm yet again 
> tempted to use D for a small work thing, but I'll need LDC for 
> it, and debuginfo needs to work or it's a non-starter.
>
> Does anyone know where that stuff stands? What are the limits? 
> Last I checked, some MS guys were personally introducing full 
> debuginfo to LLVM, but I'm not sure if they progressed, or if 
> that work is available in LDC?
>
> Cheers.
> - Manu

We support CodeView, to what extent I don't know.

https://github.com/ldc-developers/ldc/blob/master/tests/debuginfo/vector_cdb.d
https://github.com/ldc-developers/ldc/blob/master/tests/debuginfo/strings_cdb.d

just try it and see if it is up to your needs!

$ldc2 -g main.d -of=main.exe
$cv . main.exe


More information about the Digitalmars-d mailing list