mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 23:49:22 +08:00
Fixed GetModuleSpecifications() to work better overall:
- MachO files now correctly extract the UUID all the time - More file size and offset verification done for universal mach-o files to watch for truncated files - ObjectContainerBSDArchive now supports enumerating all objects in BSD archives (.a files) - lldb_private::Module() can not be properly constructed using a ModuleSpec for a .o file in a .a file - The BSD archive plug-in shares its cache for GetModuleSpecifications() and the create callback - Improved printing for ModuleSpec objects llvm-svn: 186211
This commit is contained in:
@@ -175,7 +175,7 @@ SBModuleSpecList::GetModuleSpecifications (const char *path)
|
||||
SBModuleSpecList specs;
|
||||
FileSpec file_spec(path, true);
|
||||
Host::ResolveExecutableInBundle(file_spec);
|
||||
ObjectFile::GetModuleSpecifications(file_spec, 0, *specs.m_opaque_ap);
|
||||
ObjectFile::GetModuleSpecifications(file_spec, 0, 0, *specs.m_opaque_ap);
|
||||
return specs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user