commit | 1cb6057bf39c5ab3e908d55bcdd4004802230876 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Tue Aug 22 18:03:02 2006 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Tue Aug 22 18:03:02 2006 +0000 |
tree | 9011b51e63e30dd106516d14077842ce3bd15f51 | |
parent | a5ec45d3c1e08166328ca1fa1e72d21a2b97cf04 [diff] [blame] |
Fix another occurrence of inverted logic on the result of MappedFile::map git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29828 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ /// void SourceFile::readFile() { std::string ErrMsg; - if (File.map(&ErrMsg)) + if (!File.map(&ErrMsg)) throw ErrMsg; }