forked from OSchip/llvm-project
parent
24ebfcb619
commit
2b5a4fbc30
|
@ -218,7 +218,7 @@ findFile(ELFLinkingContext &ctx, StringRef path, bool dashL) {
|
||||||
if (std::error_code ec = pathOrErr.getError())
|
if (std::error_code ec = pathOrErr.getError())
|
||||||
return make_dynamic_error_code(
|
return make_dynamic_error_code(
|
||||||
Twine("Unable to find library -l") + path + ": " + ec.message());
|
Twine("Unable to find library -l") + path + ": " + ec.message());
|
||||||
path = pathOrErr->str();
|
path = pathOrErr.get();
|
||||||
}
|
}
|
||||||
if (!llvm::sys::fs::exists(path))
|
if (!llvm::sys::fs::exists(path))
|
||||||
return make_dynamic_error_code(
|
return make_dynamic_error_code(
|
||||||
|
|
Loading…
Reference in New Issue