-gc in dmd?

WebFreak001 d.forum at webfreak.org
Thu Apr 8 06:30:22 UTC 2021


On Thursday, 8 April 2021 at 06:06:58 UTC, Mathias LANG wrote:
> On Wednesday, 7 April 2021 at 11:36:59 UTC, WebFreak001 wrote:
>> Does DMD have a -gc flag comparable to the LDC flag? (emit C 
>> compatible debug information)
>>
>> [...]
>>
>> Only being restricted to LDC with -gc might be a bad 
>> constraint for some users, so I'm looking for something that 
>> works with both compilers. mago-mi doesn't seem to work at all 
>> (running works, no breakpoint support or anything else though)
>
> https://github.com/dlang/dmd/pull/4766
> Is VSDBG not extensible in any way ? What does other languages 
> (Go, Rust) do here ? Adding back `-gc` would be a step back IMO.

 From https://github.com/rust-lang/rust/issues/36503 I assume no 
and it looks like they emit C++ compatible debug symbols


More information about the Digitalmars-d mailing list