forked from OSchip/llvm-project
parent
610d90b283
commit
b561f9eb0d
|
@ -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)));
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue