[lld] r287451 - Fix typo in error message.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 19 10:34:55 PST 2016


Author: ruiu
Date: Sat Nov 19 12:34:55 2016
New Revision: 287451

URL: http://llvm.org/viewvc/llvm-project?rev=287451&view=rev
Log:
Fix typo in error message.

Modified:
    lld/trunk/ELF/EhFrame.cpp
    lld/trunk/test/ELF/invalid-cie-length2.s
    lld/trunk/test/ELF/invalid-cie-length3.s

Modified: lld/trunk/ELF/EhFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/EhFrame.cpp?rev=287451&r1=287450&r2=287451&view=diff
==============================================================================
--- lld/trunk/ELF/EhFrame.cpp (original)
+++ lld/trunk/ELF/EhFrame.cpp Sat Nov 19 12:34:55 2016
@@ -47,7 +47,7 @@ template <class ELFT> size_t readEhRecor
     fatal("CIE/FDE too large");
   uint64_t Size = V + 4;
   if (Size > D.size())
-    fatal("CIE/FIE ends past the end of the section");
+    fatal("CIE/FDE ends past the end of the section");
   return Size;
 }
 

Modified: lld/trunk/test/ELF/invalid-cie-length2.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid-cie-length2.s?rev=287451&r1=287450&r2=287451&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid-cie-length2.s (original)
+++ lld/trunk/test/ELF/invalid-cie-length2.s Sat Nov 19 12:34:55 2016
@@ -6,4 +6,4 @@
         .section .eh_frame
         .long 42
 
-// CHECK: CIE/FIE ends past the end of the section
+// CHECK: CIE/FDE ends past the end of the section

Modified: lld/trunk/test/ELF/invalid-cie-length3.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid-cie-length3.s?rev=287451&r1=287450&r2=287451&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid-cie-length3.s (original)
+++ lld/trunk/test/ELF/invalid-cie-length3.s Sat Nov 19 12:34:55 2016
@@ -6,4 +6,4 @@
  .section .eh_frame
  .long 0xFFFFFFFC
 
-// CHECK: CIE/FIE ends past the end of the section
+// CHECK: CIE/FDE ends past the end of the section




More information about the llvm-commits mailing list