diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2020-01-09 12:20:18 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2020-01-10 14:59:58 +0000 |
commit | 6e3ca962fafb3d2a31279c49f0cde60eb626a002 (patch) | |
tree | 5eff6c71df6deb9d41c20efcf02c94c47c4476b8 /lld | |
parent | b19c0810e56b552d31247dcff081643799fd97fb (diff) | |
download | bcm5719-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 'lld')
-rw-r--r-- | lld/test/ELF/undef.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/ELF/undef.s b/lld/test/ELF/undef.s index e5ddcb5f52c..2ca733a26fd 100644 --- a/lld/test/ELF/undef.s +++ b/lld/test/ELF/undef.s @@ -52,7 +52,7 @@ # is requested, even if that particular part of the line information is not currently required. # Also show that the warnings are only printed once. # CHECK: warning: parsing line table prologue at 0x00000000 should have ended at 0x00000038 but it ended at 0x00000037 -# CHECK-NEXT: warning: last sequence in debug line table is not terminated! +# CHECK-NEXT: warning: last sequence in debug line table at offset 0x0000005b is not terminated # CHECK: error: undefined symbol: zed6a # CHECK-NEXT: >>> referenced by {{.*}}tmp4.o:(.text+0x0) # CHECK: error: undefined symbol: zed6b |