dwarf debug info under windows ?

Basile B. b2.temp at gmx.com
Thu Jul 2 10:29:52 UTC 2020

On Thursday, 2 July 2020 at 09:43:22 UTC, kinke wrote:
> On Thursday, 2 July 2020 at 07:22:01 UTC, Basile B. wrote:
>> If I compile a debug build with LDC2, targeting amd64 and 
>> without VS installed, does LDC generate debug infos compatible 
>> with GDB or not ?
> LDC/LLVM generates CodeView for MSVC targets and DWARF for 
> MinGW (...-windows-gnu triples).

sounds like what I want, I'll try this.
So in theory when MS toolchain is not installed, LDC uses the 
MinGW libs, so this path should be taken as well.

> MinGW isn't fully supported though, so unless GDB supports 
> CodeView in the meantime, it probably won't work.

More information about the digitalmars-d-ldc mailing list