[lld] r273156 - [ELF] - Lowercase the error messages text. NFC.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 20 06:48:16 PDT 2016
Author: grimar
Date: Mon Jun 20 08:48:16 2016
New Revision: 273156
URL: http://llvm.org/viewvc/llvm-project?rev=273156&view=rev
Log:
[ELF] - Lowercase the error messages text. NFC.
Modified:
lld/trunk/ELF/Relocations.cpp
lld/trunk/test/ELF/copy-errors.s
Modified: lld/trunk/ELF/Relocations.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Relocations.cpp?rev=273156&r1=273155&r2=273156&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Mon Jun 20 08:48:16 2016
@@ -406,7 +406,7 @@ static RelExpr adjustExpr(const elf::Obj
return Expr;
}
if (Body.getVisibility() != STV_DEFAULT) {
- error("Cannot preempt symbol");
+ error("cannot preempt symbol");
return Expr;
}
if (Body.isObject()) {
@@ -440,7 +440,7 @@ static RelExpr adjustExpr(const elf::Obj
Body.NeedsCopyOrPltAddr = true;
return toPlt(Expr);
}
- error("Symbol is missing type");
+ error("symbol is missing type");
return Expr;
}
Modified: lld/trunk/test/ELF/copy-errors.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/copy-errors.s?rev=273156&r1=273155&r2=273156&view=diff
==============================================================================
--- lld/trunk/test/ELF/copy-errors.s (original)
+++ lld/trunk/test/ELF/copy-errors.s Mon Jun 20 08:48:16 2016
@@ -9,7 +9,7 @@ _start:
call bar
-// CHECK: Cannot preempt symbol
+// CHECK: cannot preempt symbol
call zed
-// CHECK: Symbol is missing type
+// CHECK: symbol is missing type
More information about the llvm-commits
mailing list