From 6e3ca962fafb3d2a31279c49f0cde60eb626a002 Mon Sep 17 00:00:00 2001 From: James Henderson Date: Thu, 9 Jan 2020 12:20:18 +0000 Subject: [DebugInfo] Improve error message text Unlike most of our errors in the debug line parser, the "no end of sequence" message was missing any reference to which line table it refererred to. This change adds the offset to this message. Reviewed by: dblaikie Differential Revision: https://reviews.llvm.org/D72443 --- llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/tools/llvm-dwarfdump') diff --git a/llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test b/llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test index cb8b2b8f3e4..6bdc526570f 100644 --- a/llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test +++ b/llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test @@ -158,7 +158,7 @@ # ALL-NEXT: warning: parsing line table prologue at 0x00000081 should have ended at 0x000000b9 but it ended at 0x000000ba # ALL-NEXT: warning: parsing line table prologue at 0x000000c9 should have ended at 0x00000104 but it ended at 0x00000103 # OTHER-NEXT: warning: unexpected line op length at offset 0x00000158 expected 0x02 found 0x01 -# OTHER-NEXT: warning: last sequence in debug line table is not terminated! +# OTHER-NEXT: warning: last sequence in debug line table at offset 0x00000167 is not terminated # ALL-NEXT: warning: parsing line table prologue at 0x000001ad should have ended at 0x000001c8 but it ended at 0x000001df # ALL-NEXT: warning: parsing line table prologue at 0x000001ed should have ended at 0x00000218 but it ended at 0x0000021f # ALL-NEXT: warning: parsing line table prologue at 0x0000022d should have ended at 0x0000024f but it ended at 0x0000025f -- cgit v1.2.3