commit | ffa6f2581d28255d5e158646fb0cb6e8a57275b3 | [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 | 4474d129b970f338c7d41dc4410ce59067434bca | |
parent | c5baec42a7c2137fe46101d4d550e0ffb929a01e [diff] [blame] |
Fix another occurrence of inverted logic on the result of MappedFile::map llvm-svn: 29828
diff --git a/llvm/lib/Debugger/SourceFile.cpp b/llvm/lib/Debugger/SourceFile.cpp index 799231f..ebea307 100644 --- a/llvm/lib/Debugger/SourceFile.cpp +++ b/llvm/lib/Debugger/SourceFile.cpp
@@ -20,7 +20,7 @@ /// void SourceFile::readFile() { std::string ErrMsg; - if (File.map(&ErrMsg)) + if (!File.map(&ErrMsg)) throw ErrMsg; }