[lld] r233054 - [Mips] Fix typo in the error message

Simon Atanasyan simon at atanasyan.com
Tue Mar 24 02:05:35 PDT 2015


Author: atanasyan
Date: Tue Mar 24 04:05:35 2015
New Revision: 233054

URL: http://llvm.org/viewvc/llvm-project?rev=233054&view=rev
Log:
[Mips] Fix typo in the error message

Modified:
    lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFFlagsMerger.cpp
    lld/trunk/test/elf/Mips/e-flags-merge-10.test
    lld/trunk/test/elf/Mips/e-flags-merge-11.test
    lld/trunk/test/elf/Mips/e-flags-merge-9.test

Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFFlagsMerger.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFFlagsMerger.cpp?rev=233054&r1=233053&r2=233054&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFFlagsMerger.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFFlagsMerger.cpp Tue Mar 24 04:05:35 2015
@@ -135,7 +135,7 @@ std::error_code MipsELFFlagsMerger::merg
   if (!matchMipsISA(newArch, oldArch)) {
     if (!matchMipsISA(oldArch, newArch))
       return make_dynamic_error_code(
-          Twine("Linking modules with icompatible ISA"));
+          Twine("Linking modules with incompatible ISA"));
     _flags &= ~EF_MIPS_ARCH;
     _flags |= newArch;
   }

Modified: lld/trunk/test/elf/Mips/e-flags-merge-10.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Mips/e-flags-merge-10.test?rev=233054&r1=233053&r2=233054&view=diff
==============================================================================
--- lld/trunk/test/elf/Mips/e-flags-merge-10.test (original)
+++ lld/trunk/test/elf/Mips/e-flags-merge-10.test Tue Mar 24 04:05:35 2015
@@ -7,7 +7,7 @@
 # RUN: not lld -flavor gnu -target mipsel -shared -o %t.so \
 # RUN:         %t-32r2.o %t-32r6.o 2>&1 | FileCheck %s
 
-# CHECK: Linking modules with icompatible ISA
+# CHECK: Linking modules with incompatible ISA
 
 # 32r2.o
 ---

Modified: lld/trunk/test/elf/Mips/e-flags-merge-11.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Mips/e-flags-merge-11.test?rev=233054&r1=233053&r2=233054&view=diff
==============================================================================
--- lld/trunk/test/elf/Mips/e-flags-merge-11.test (original)
+++ lld/trunk/test/elf/Mips/e-flags-merge-11.test Tue Mar 24 04:05:35 2015
@@ -7,7 +7,7 @@
 # RUN: not lld -flavor gnu -target mips64el -shared -o %t.so \
 # RUN:         %t-64r2.o %t-64r6.o 2>&1 | FileCheck %s
 
-# CHECK: Linking modules with icompatible ISA
+# CHECK: Linking modules with incompatible ISA
 
 # 64r2.o
 ---

Modified: lld/trunk/test/elf/Mips/e-flags-merge-9.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Mips/e-flags-merge-9.test?rev=233054&r1=233053&r2=233054&view=diff
==============================================================================
--- lld/trunk/test/elf/Mips/e-flags-merge-9.test (original)
+++ lld/trunk/test/elf/Mips/e-flags-merge-9.test Tue Mar 24 04:05:35 2015
@@ -7,7 +7,7 @@
 # RUN: not lld -flavor gnu -target mipsel -shared -o %t.so \
 # RUN:         %t-32r2.o %t-64.o 2>&1 | FileCheck %s
 
-# CHECK: Linking modules with icompatible ISA
+# CHECK: Linking modules with incompatible ISA
 
 # 32r2.o
 ---





More information about the llvm-commits mailing list