diff --git a/src/rt/backtrace/dwarf.d b/src/rt/backtrace/dwarf.d index 8d2572043e8..b9c217d9a9d 100644 --- a/src/rt/backtrace/dwarf.d +++ b/src/rt/backtrace/dwarf.d @@ -204,6 +204,7 @@ void resolveAddresses(const(ubyte)[] debugLineSectionData, Location[] locations, { // adjust to ASLR offset address += baseAddress; + debug(DwarfDebugMachine) printf("-- offsetting 0x%x to 0x%x\n", address - baseAddress, address); // If loc.line != -1, then it has been set previously. // Some implementations (eg. dmd) write an address to // the debug data multiple times, but so far I have found