Fix odd titlecasing and spacing in an error message.

llvm-svn: 199530
This commit is contained in:
Rui Ueyama 2014-01-18 00:57:40 +00:00
parent d769a1ed62
commit 8d7a6f2898
3 changed files with 8 additions and 8 deletions

View File

@ -399,8 +399,8 @@ bool Resolver::checkUndefines(bool isFinal) {
// Seems like this symbol is undefined. Warn that. // Seems like this symbol is undefined. Warn that.
foundUndefines = true; foundUndefines = true;
if (_context.printRemainingUndefines()) { if (_context.printRemainingUndefines()) {
llvm::errs() << "Undefined Symbol: " << undefAtom->file().path() llvm::errs() << "Undefined symbol: " << undefAtom->file().path()
<< " : " << undefAtom->name() << "\n"; << ": " << undefAtom->name() << "\n";
} }
} }
if (foundUndefines) { if (foundUndefines) {

View File

@ -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: --use-shlib-undefines --no-allow-shlib-undefined 2> %t2
RUN: FileCheck -check-prefix=SHLIB %s < %t2 RUN: FileCheck -check-prefix=SHLIB %s < %t2
EXEC: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : puts EXEC: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: puts
SHLIB: 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 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 SHLIB-NOT: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: weakfoo

View File

@ -4,5 +4,5 @@
# RUN: /subsystem:console -- %t.obj 2> %t.log # RUN: /subsystem:console -- %t.obj 2> %t.log
# RUN: FileCheck %s < %t.log # RUN: FileCheck %s < %t.log
CHECK: Undefined Symbol: command line option /include : sym1 CHECK: Undefined symbol: command line option /include: sym1
CHECK: Undefined Symbol: command line option /include : sym2 CHECK: Undefined symbol: command line option /include: sym2