[lld] 12048a9 - [lld] Fix test failure from d978656fd06

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 02:30:01 PST 2020


Author: Pavel Labath
Date: 2020-03-02T11:28:48+01:00
New Revision: 12048a9182fc39b25d5e371702b95c7e83054236

URL: https://github.com/llvm/llvm-project/commit/12048a9182fc39b25d5e371702b95c7e83054236
DIFF: https://github.com/llvm/llvm-project/commit/12048a9182fc39b25d5e371702b95c7e83054236.diff

LOG: [lld] Fix test failure from d978656fd06

Tweak the test to account for the slightly different wording of the
error message.

Added: 
    

Modified: 
    lld/test/ELF/undef.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/undef.s b/lld/test/ELF/undef.s
index f78854ad1d94..2e5ed25dec49 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: parsing line table prologue at offset 0x0000005b found unsupported version 1
+# CHECK-NEXT: warning: parsing line table prologue at offset 0x0000005b: unsupported version 1
 # CHECK-NEXT: warning: last sequence in debug line table at offset 0x00000061 is not terminated
 # CHECK:      error: undefined symbol: zed6a
 # CHECK-NEXT: >>> referenced by undef-bad-debug.s:11 (dir{{/|\\}}undef-bad-debug.s:11)


        


More information about the llvm-commits mailing list