mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
output: outelf,dwarf -- Add missing DW_LNS_copy
Backport of master commit ed347369aeeb6ff7338249a967bd292ee78debc5 https://bugzilla.nasm.us/show_bug.cgi?id=3392325 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
4d79eed7b7
commit
48fe2eea27
@ -1716,6 +1716,7 @@ static void dwarf32_output(int type, void *param)
|
||||
saa_write8(plinep,DW_LNS_advance_pc);
|
||||
saa_wleb128u(plinep,aa);
|
||||
}
|
||||
saa_write8(plinep,DW_LNS_copy);
|
||||
}
|
||||
dwarf_csect->line = currentline;
|
||||
dwarf_csect->offset = s->offset;
|
||||
|
@ -1806,6 +1806,7 @@ static void dwarf64_output(int type, void *param)
|
||||
saa_write8(plinep,DW_LNS_advance_pc);
|
||||
saa_wleb128u(plinep,aa);
|
||||
}
|
||||
saa_write8(plinep,DW_LNS_copy);
|
||||
}
|
||||
dwarf_csect->line = currentline;
|
||||
dwarf_csect->offset = s->offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user