forked from Imagelibrary/binutils-gdb
LVU: do NOT emit line info before asm source file is set
This commit is contained in:
@@ -528,7 +528,9 @@ dwarf2_emit_insn (int size)
|
||||
{
|
||||
struct dwarf2_line_info loc;
|
||||
|
||||
if (!dwarf2_loc_directive_seen && debug_type != DEBUG_DWARF2)
|
||||
if (debug_type != DEBUG_DWARF2
|
||||
? !dwarf2_loc_directive_seen
|
||||
: !seen_at_least_1_file ())
|
||||
return;
|
||||
|
||||
dwarf2_where (&loc);
|
||||
|
||||
Reference in New Issue
Block a user