LVU: do NOT emit line info before asm source file is set

This commit is contained in:
Alexandre Oliva
2017-04-12 00:14:22 -03:00
parent 45c30a130a
commit b1da2fa7f1

View File

@@ -528,7 +528,9 @@ dwarf2_emit_insn (int size)
{ {
struct dwarf2_line_info loc; 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; return;
dwarf2_where (&loc); dwarf2_where (&loc);