summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Debugger
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-22 18:03:02 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-22 18:03:02 +0000
commitffa6f2581d28255d5e158646fb0cb6e8a57275b3 (patch)
tree4474d129b970f338c7d41dc4410ce59067434bca /llvm/lib/Debugger
parentc5baec42a7c2137fe46101d4d550e0ffb929a01e (diff)
downloadbcm5719-llvm-ffa6f2581d28255d5e158646fb0cb6e8a57275b3.tar.gz
bcm5719-llvm-ffa6f2581d28255d5e158646fb0cb6e8a57275b3.zip
Fix another occurrence of inverted logic on the result of MappedFile::map
llvm-svn: 29828
Diffstat (limited to 'llvm/lib/Debugger')
-rw-r--r--llvm/lib/Debugger/SourceFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Debugger/SourceFile.cpp b/llvm/lib/Debugger/SourceFile.cpp
index 799231fc8dd..ebea307be46 100644
--- a/llvm/lib/Debugger/SourceFile.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud