[Lldb-commits] [lldb] r209833 - Fixed the Module::Module(ModuleSpec) constructor to properly copy the file offset and object file mod time from the actual module specifications so we will always be able to directly load the image we care about when calling Module::GetObjectFile().
Greg Clayton
gclayton at apple.com
Thu May 29 10:52:47 PDT 2014
Author: gclayton
Date: Thu May 29 12:52:46 2014
New Revision: 209833
URL: http://llvm.org/viewvc/llvm-project?rev=209833&view=rev
Log:
Fixed the Module::Module(ModuleSpec) constructor to properly copy the file offset and object file mod time from the actual module specifications so we will always be able to directly load the image we care about when calling Module::GetObjectFile().
Modified:
lldb/trunk/source/Core/Module.cpp
Modified: lldb/trunk/source/Core/Module.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Module.cpp?rev=209833&r1=209832&r2=209833&view=diff
==============================================================================
--- lldb/trunk/source/Core/Module.cpp (original)
+++ lldb/trunk/source/Core/Module.cpp Thu May 29 12:52:46 2014
@@ -197,8 +197,8 @@ Module::Module (const ModuleSpec &module
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();
}
More information about the lldb-commits
mailing list