From 4b3da298d258c9674f041b02f62f3e0149595a5d Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Tue, 8 Sep 2009 17:44:42 +0200 Subject: [PATCH] dwarflint: Always emit error about missing DW_LNE_end_sequence * ... even if there were no opcodes, because the no-opcodes message can be filtered out. --- src/dwarflint.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/dwarflint.c b/src/dwarflint.c index 1a6fb71e2..c594c4418 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -5195,11 +5195,8 @@ check_line_structural (struct elf_file *file, wr_message (mc_line | mc_acc_bloat | mc_impact_3, &where, ": empty line number program.\n"); if (!terminated) - { - if (seen_opcode) - wr_error (&where, - ": sequence of opcodes not terminated with DW_LNE_end_sequence.\n"); - } + wr_error (&where, + ": sequence of opcodes not terminated with DW_LNE_end_sequence.\n"); else if (sub_ctx.ptr != sub_ctx.end && !check_zero_padding (&sub_ctx, mc_line, &WHERE (sec_line, NULL))) -- 2.47.3