diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-22 18:03:02 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-22 18:03:02 +0000 |
commit | 1cb6057bf39c5ab3e908d55bcdd4004802230876 (patch) | |
tree | 9011b51e63e30dd106516d14077842ce3bd15f51 /lib/Debugger | |
parent | a5ec45d3c1e08166328ca1fa1e72d21a2b97cf04 (diff) |
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
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; } |