Thread overview
MS-COFF/PDB support in LLVM/LDC, where are we at?
Jun 15, 2017
Manu
Jun 15, 2017
Jakob Bornecrantz
Jun 15, 2017
Manu
Jun 15, 2017
Nicholas Wilson
Jun 15, 2017
Kagamin
June 15, 2017
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


June 15, 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

Google tells me that at least LLVM should support it[1]. Dunno about the rest of LDC.

Cheers, Jakob.

[1] http://clang.llvm.org/docs/MSVCCompatibility.html
June 15, 2017
On 15 June 2017 at 12:00, Jakob Bornecrantz via Digitalmars-d < digitalmars-d@puremagic.com> wrote:

> 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
>>
>
> Google tells me that at least LLVM should support it[1]. Dunno about the rest of LDC.
>
> Cheers, Jakob.
>
> [1] http://clang.llvm.org/docs/MSVCCompatibility.html
>

I'd love to know what "mostly complete" means :)


June 15, 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
June 15, 2017
https://github.com/ldc-developers/ldc/issues/1716 this?