diff options
-rw-r--r-- | lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp | 2 | ||||
-rw-r--r-- | lld/test/pecoff/include.test | 4 |
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 |