Skip to content

Commit

Permalink
Merge pull request #340 from dawgfoto/master
Browse files Browse the repository at this point in the history
Fix for dwarf line number program
  • Loading branch information
WalterBright committed Aug 27, 2011
2 parents 31052bd + 5340617 commit 08defd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/dwarf.c
Expand Up @@ -892,7 +892,7 @@ void dwarf_termfile()

// Write DW_LNS_advance_pc to cover the function prologue
linebuf->writeByte(DW_LNS_advance_pc);
linebuf->writeByte(sd->SDbuf->size() - address);
linebuf->writeuLEB128((unsigned long)(sd->SDbuf->size() - address));

// Write DW_LNE_end_sequence
linebuf->writeByte(0);
Expand Down

0 comments on commit 08defd9

Please sign in to comment.