www.digitalmars.com         C & C++   DMDScript  

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

reply Manu via Digitalmars-d <digitalmars-d puremagic.com> writes:
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
Jun 14
next sibling parent reply Jakob Bornecrantz <wallbraker gmail.com> writes:
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
Jun 14
parent Manu via Digitalmars-d <digitalmars-d puremagic.com> writes:
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 :)
Jun 14
prev sibling next sibling parent Nicholas Wilson <iamthewilsonator hotmail.com> writes:
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
Jun 15
prev sibling parent Kagamin <spam here.lot> writes:
https://github.com/ldc-developers/ldc/issues/1716 this?
Jun 15