summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-12-26 06:26:47 +0000
committerRui Ueyama <ruiu@google.com>2013-12-26 06:26:47 +0000
commitb561f9eb0d7cd994457fc44f8a6d1e965e429def (patch)
tree32db1c9158e3a04f3499997d54b9be0abc88f343
parent610d90b2835a77e1e832bf321f2962956fd886f7 (diff)
downloadbcm5719-llvm-b561f9eb0d7cd994457fc44f8a6d1e965e429def.tar.gz
bcm5719-llvm-b561f9eb0d7cd994457fc44f8a6d1e965e429def.zip
[PECOFF] Fix wrong message.
llvm-svn: 198033
-rw-r--r--lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp2
-rw-r--r--lld/test/pecoff/include.test4
2 files changed, 3 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp b/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
index d1bd6804335..936b5fdd08c 100644
--- a/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
@@ -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)));
diff --git a/lld/test/pecoff/include.test b/lld/test/pecoff/include.test
index b2e8be0d8bb..5e91660c649 100644
--- a/lld/test/pecoff/include.test
+++ b/lld/test/pecoff/include.test
@@ -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
OpenPOWER on IntegriCloud