forked from OSchip/llvm-project
parent
efd0bcb70f
commit
9f5f635e7f
|
@ -242,7 +242,7 @@ llvm::ErrorOr<StringRef> PECOFFFileNode::path(const LinkingContext &) const {
|
|||
if (_path.endswith(".lib"))
|
||||
return _ctx.searchLibraryFile(_path);
|
||||
if (llvm::sys::path::extension(_path).empty())
|
||||
return (_ctx.allocateString(_path.str() + ".obj"));
|
||||
return _ctx.allocateString(_path.str() + ".obj");
|
||||
return _path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue