[lld] r199530 - Fix odd titlecasing and spacing in an error message.
Rui Ueyama
ruiu at google.com
Fri Jan 17 16:57:40 PST 2014
Author: ruiu
Date: Fri Jan 17 18:57:40 2014
New Revision: 199530
URL: http://llvm.org/viewvc/llvm-project?rev=199530&view=rev
Log:
Fix odd titlecasing and spacing in an error message.
Modified:
lld/trunk/lib/Core/Resolver.cpp
lld/trunk/test/elf/dynamic-undef.test
lld/trunk/test/pecoff/include.test
Modified: lld/trunk/lib/Core/Resolver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/Resolver.cpp?rev=199530&r1=199529&r2=199530&view=diff
==============================================================================
--- lld/trunk/lib/Core/Resolver.cpp (original)
+++ lld/trunk/lib/Core/Resolver.cpp Fri Jan 17 18:57:40 2014
@@ -399,8 +399,8 @@ bool Resolver::checkUndefines(bool isFin
// Seems like this symbol is undefined. Warn that.
foundUndefines = true;
if (_context.printRemainingUndefines()) {
- llvm::errs() << "Undefined Symbol: " << undefAtom->file().path()
- << " : " << undefAtom->name() << "\n";
+ llvm::errs() << "Undefined symbol: " << undefAtom->file().path()
+ << ": " << undefAtom->name() << "\n";
}
}
if (foundUndefines) {
Modified: lld/trunk/test/elf/dynamic-undef.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/dynamic-undef.test?rev=199530&r1=199529&r2=199530&view=diff
==============================================================================
--- lld/trunk/test/elf/dynamic-undef.test (original)
+++ lld/trunk/test/elf/dynamic-undef.test Fri Jan 17 18:57:40 2014
@@ -23,7 +23,7 @@ RUN: %p/Inputs/shared.so-x86-64 -o %t
RUN: --use-shlib-undefines --no-allow-shlib-undefined 2> %t2
RUN: FileCheck -check-prefix=SHLIB %s < %t2
-EXEC: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : puts
-SHLIB: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : puts
-EXEC-NOT: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : weakfoo
-SHLIB-NOT: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : weakfoo
+EXEC: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: puts
+SHLIB: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: puts
+EXEC-NOT: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: weakfoo
+SHLIB-NOT: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: weakfoo
Modified: lld/trunk/test/pecoff/include.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/include.test?rev=199530&r1=199529&r2=199530&view=diff
==============================================================================
--- lld/trunk/test/pecoff/include.test (original)
+++ lld/trunk/test/pecoff/include.test Fri Jan 17 18:57:40 2014
@@ -4,5 +4,5 @@
# RUN: /subsystem:console -- %t.obj 2> %t.log
# RUN: FileCheck %s < %t.log
-CHECK: Undefined Symbol: command line option /include : sym1
-CHECK: Undefined Symbol: command line option /include : sym2
+CHECK: Undefined symbol: command line option /include: sym1
+CHECK: Undefined symbol: command line option /include: sym2
More information about the llvm-commits
mailing list