Skip to content

Commit 8d7a6f2

Browse files
committed
Fix odd titlecasing and spacing in an error message.
llvm-svn: 199530
1 parent d769a1e commit 8d7a6f2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

lld/lib/Core/Resolver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ bool Resolver::checkUndefines(bool isFinal) {
399399
// Seems like this symbol is undefined. Warn that.
400400
foundUndefines = true;
401401
if (_context.printRemainingUndefines()) {
402-
llvm::errs() << "Undefined Symbol: " << undefAtom->file().path()
403-
<< " : " << undefAtom->name() << "\n";
402+
llvm::errs() << "Undefined symbol: " << undefAtom->file().path()
403+
<< ": " << undefAtom->name() << "\n";
404404
}
405405
}
406406
if (foundUndefines) {

lld/test/elf/dynamic-undef.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN: %p/Inputs/shared.so-x86-64 -o %t -e main -shared \
2323
RUN: --use-shlib-undefines --no-allow-shlib-undefined 2> %t2
2424
RUN: FileCheck -check-prefix=SHLIB %s < %t2
2525

26-
EXEC: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : puts
27-
SHLIB: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : puts
28-
EXEC-NOT: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : weakfoo
29-
SHLIB-NOT: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : weakfoo
26+
EXEC: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: puts
27+
SHLIB: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: puts
28+
EXEC-NOT: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: weakfoo
29+
SHLIB-NOT: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: weakfoo

lld/test/pecoff/include.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# RUN: /subsystem:console -- %t.obj 2> %t.log
55
# RUN: FileCheck %s < %t.log
66

7-
CHECK: Undefined Symbol: command line option /include : sym1
8-
CHECK: Undefined Symbol: command line option /include : sym2
7+
CHECK: Undefined symbol: command line option /include: sym1
8+
CHECK: Undefined symbol: command line option /include: sym2

0 commit comments

Comments
 (0)