Fixed the Module::Module(ModuleSpec) constructor to properly copy the file offset...
authorGreg Clayton <gclayton@apple.com>
Thu, 29 May 2014 17:52:46 +0000 (17:52 +0000)
committerGreg Clayton <gclayton@apple.com>
Thu, 29 May 2014 17:52:46 +0000 (17:52 +0000)
llvm-svn: 209833

lldb/source/Core/Module.cpp

index 4cf10e9..cda6f27 100644 (file)
@@ -197,8 +197,8 @@ Module::Module (const ModuleSpec &module_spec) :
     m_platform_file = module_spec.GetPlatformFileSpec();
     m_symfile_spec = module_spec.GetSymbolFileSpec();
     m_object_name = module_spec.GetObjectName();
-    m_object_offset = module_spec.GetObjectOffset();
-    m_object_mod_time = module_spec.GetObjectModificationTime();
+    m_object_offset = matching_module_spec.GetObjectOffset();
+    m_object_mod_time = matching_module_spec.GetObjectModificationTime();
     
 }