diff options
Diffstat (limited to 'lib/Debugger/SourceFile.cpp')
-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 799231f..ebea307 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; } |