Fix ObjectFileELF to not use the file_offset twice.
llvm-svn: 182061
This commit is contained in:
parent
e8be51d7d7
commit
22b40f7b0b
|
@ -311,7 +311,7 @@ ObjectFileELF::SectionIndex(const SectionHeaderCollConstIter &I) const
|
|||
bool
|
||||
ObjectFileELF::ParseHeader()
|
||||
{
|
||||
lldb::offset_t offset = GetFileOffset();
|
||||
lldb::offset_t offset = 0;
|
||||
return m_header.Parse(m_data, &offset);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue