From 8d7a6f289866e1c1c04005ae3cbdc052c342488e Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sat, 18 Jan 2014 00:57:40 +0000 Subject: [PATCH] Fix odd titlecasing and spacing in an error message. llvm-svn: 199530 --- lld/lib/Core/Resolver.cpp | 4 ++-- lld/test/elf/dynamic-undef.test | 8 ++++---- lld/test/pecoff/include.test | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp index 64503fa5b586..24d5810a466b 100644 --- a/lld/lib/Core/Resolver.cpp +++ b/lld/lib/Core/Resolver.cpp @@ -399,8 +399,8 @@ bool Resolver::checkUndefines(bool isFinal) { // 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) { diff --git a/lld/test/elf/dynamic-undef.test b/lld/test/elf/dynamic-undef.test index 33cf640f23f5..afbb0015cfc6 100644 --- a/lld/test/elf/dynamic-undef.test +++ b/lld/test/elf/dynamic-undef.test @@ -23,7 +23,7 @@ RUN: %p/Inputs/shared.so-x86-64 -o %t -e main -shared \ 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 diff --git a/lld/test/pecoff/include.test b/lld/test/pecoff/include.test index b0e4d7ae782a..514497aaf588 100644 --- a/lld/test/pecoff/include.test +++ b/lld/test/pecoff/include.test @@ -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