summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2020-01-09 12:20:18 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2020-01-10 14:59:58 +0000
commit6e3ca962fafb3d2a31279c49f0cde60eb626a002 (patch)
tree5eff6c71df6deb9d41c20efcf02c94c47c4476b8 /llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
parentb19c0810e56b552d31247dcff081643799fd97fb (diff)
downloadbcm5719-llvm-6e3ca962fafb3d2a31279c49f0cde60eb626a002.tar.gz
bcm5719-llvm-6e3ca962fafb3d2a31279c49f0cde60eb626a002.zip
[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
Diffstat (limited to 'llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test')
-rw-r--r--llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud