forked from OSchip/llvm-project
parent
7dbd783e90
commit
b25c49dd0c
|
@ -119,7 +119,7 @@ void DumpSymbolNamesFromModule (Module *M) {
|
|||
void DumpSymbolNamesFromFile (std::string &Filename) {
|
||||
std::string ErrorMessage;
|
||||
sys::Path aPath(Filename);
|
||||
if (Filename != "-" && !aPath.canRead()) {
|
||||
if (Filename != "-") {
|
||||
std::cerr << ToolName << ": " << Filename << ": " << strerror (errno)
|
||||
<< "\n";
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue