<rdar://problem/12125010>

Handle universal BSD archives correctly when parsing DWARF in .o files with debug map.

llvm-svn: 168075
This commit is contained in:
Greg Clayton 2012-11-15 19:37:18 +00:00
parent dcee8ce8ed
commit 824e7c0dfb
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ ObjectContainerBSDArchive::GetObjectFile (const FileSpec *file)
if (object)
return ObjectFile::FindPlugin (module_sp,
file,
object->ar_file_offset,
m_offset + object->ar_file_offset,
object->ar_file_size,
m_data.GetSharedDataBuffer());
}