[PECOFF] Fix wrong message.

llvm-svn: 198033
This commit is contained in:
Rui Ueyama 2013-12-26 06:26:47 +00:00
parent 610d90b283
commit b561f9eb0d
2 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ std::unique_ptr<File> PECOFFLinkingContext::createUndefinedSymbolFile() const {
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)));

View File

@ -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