diff options
Diffstat (limited to 'lib/Debugger/ProgramInfo.cpp')
-rw-r--r-- | lib/Debugger/ProgramInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Debugger/ProgramInfo.cpp b/lib/Debugger/ProgramInfo.cpp index a702829c12..144cfeb2b3 100644 --- a/lib/Debugger/ProgramInfo.cpp +++ b/lib/Debugger/ProgramInfo.cpp @@ -174,7 +174,7 @@ SourceFile &SourceFileInfo::getSourceText() const { if (!Directory.empty()) tmpPath.setDirectory(Directory); tmpPath.appendFile(BaseName); - if (tmpPath.readable()) + if (tmpPath.canRead()) SourceText = new SourceFile(tmpPath.toString(), Descriptor); else SourceText = new SourceFile(BaseName, Descriptor); |