diff options
Diffstat (limited to 'lib/Debugger')
-rw-r--r-- | lib/Debugger/SourceFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Debugger/SourceFile.cpp b/lib/Debugger/SourceFile.cpp index 799231fc8d..ebea307be4 100644 --- a/lib/Debugger/SourceFile.cpp +++ b/lib/Debugger/SourceFile.cpp @@ -20,7 +20,7 @@ using namespace llvm; /// void SourceFile::readFile() { std::string ErrMsg; - if (File.map(&ErrMsg)) + if (!File.map(&ErrMsg)) throw ErrMsg; } |