[Lldb-commits] [lldb] r159362 - /lldb/trunk/source/Target/PathMappingList.cpp

Greg Clayton gclayton at apple.com
Thu Jun 28 11:09:13 PDT 2012


Author: gclayton
Date: Thu Jun 28 13:09:12 2012
New Revision: 159362

URL: http://llvm.org/viewvc/llvm-project?rev=159362&view=rev
Log:
Fixed a logic error which stopped paths from being properly remapped.


Modified:
    lldb/trunk/source/Target/PathMappingList.cpp

Modified: lldb/trunk/source/Target/PathMappingList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/PathMappingList.cpp?rev=159362&r1=159361&r2=159362&view=diff
==============================================================================
--- lldb/trunk/source/Target/PathMappingList.cpp (original)
+++ lldb/trunk/source/Target/PathMappingList.cpp Thu Jun 28 13:09:12 2012
@@ -176,7 +176,7 @@
 bool
 PathMappingList::RemapPath (const char *path, std::string &new_path) const
 {
-    if (!m_pairs.empty() || path == NULL || path[0] == '\0')
+    if (m_pairs.empty() || path == NULL || path[0] == '\0')
         return false;
 
     const_iterator pos, end = m_pairs.end();





More information about the lldb-commits mailing list