<rdar://problem/11072382>

Fixed a case where the source path remappings on the module were too expensive to
use when we try to verify (stat the file system) that the remapped path points to
a valid file. Now we will use the lldb_private::Module path remappings (if any) when
parsing the debug info without verifying that the paths exist so we don't slow down
line table parsing speeds.

llvm-svn: 153059
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index 8372b53..dea7b1f 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -1165,3 +1165,10 @@
     return m_source_mappings.FindFile (orig_spec, new_spec);
 }
 
+bool
+Module::RemapSourceFile (const char *path, std::string &new_path) const
+{
+    Mutex::Locker locker (m_mutex);
+    return m_source_mappings.RemapPath(path, new_path);
+}
+