[lld] r198033 - [PECOFF] Fix wrong message.
Rui Ueyama
ruiu at google.com
Wed Dec 25 22:26:47 PST 2013
Author: ruiu
Date: Thu Dec 26 00:26:47 2013
New Revision: 198033
URL: http://llvm.org/viewvc/llvm-project?rev=198033&view=rev
Log:
[PECOFF] Fix wrong message.
Modified:
lld/trunk/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
lld/trunk/test/pecoff/include.test
Modified: lld/trunk/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp?rev=198033&r1=198032&r2=198033&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp (original)
+++ lld/trunk/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp Thu Dec 26 00:26:47 2013
@@ -110,7 +110,7 @@ std::unique_ptr<File> PECOFFLinkingConte
if (_initialUndefinedSymbols.empty())
return nullptr;
std::unique_ptr<SimpleFile> undefinedSymFile(
- new SimpleFile("command line option /c (or) /include"));
+ new SimpleFile("command line option /include"));
for (auto undefSymStr : _initialUndefinedSymbols)
undefinedSymFile->addAtom(*(new (_allocator) SimpleUndefinedAtom(
*undefinedSymFile, undefSymStr)));
Modified: lld/trunk/test/pecoff/include.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/include.test?rev=198033&r1=198032&r2=198033&view=diff
==============================================================================
--- lld/trunk/test/pecoff/include.test (original)
+++ lld/trunk/test/pecoff/include.test Thu Dec 26 00:26:47 2013
@@ -4,5 +4,5 @@
# RUN: /include:sym1 /include:sym2 -- %t.obj 2> %t1
# RUN: FileCheck %s < %t1
-CHECK: Undefined Symbol: command line option /c (or) /include : sym1
-CHECK: Undefined Symbol: command line option /c (or) /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