mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 16:50:51 +08:00
Fix ObjectFileELF to not use the file_offset twice.
llvm-svn: 182061
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user