Dwarf Error: Cannot find DIE at 0x191d5 referenced from DIE at 0x1e9ab

Denis Feklushkin feklushkin.denis at gmail.com
Sun Oct 11 09:15:11 UTC 2020

On Sunday, 11 October 2020 at 04:46:45 UTC, Denis Feklushkin 
> Hi!
> I compile in C and D sources by clang-11, ldc2 
> (1.24.0-git-e8f331c), LLD 11.0.0 into one Cortex M3 static 
> binary. And looks like it produces binary with broken debug 
> info.

Problem found! It isn't related to ldc2: compiler was 
accidentally called with LTO support but linker called without 
this option.

More information about the digitalmars-d-ldc mailing list