Prevent ObjectFileELF::GetSectionHeaderInfo() from reparsing section headers.
authorTodd Fiala <todd.fiala@gmail.com>
Fri, 11 Jul 2014 15:13:33 +0000 (15:13 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Fri, 11 Jul 2014 15:13:33 +0000 (15:13 +0000)
commit6477ea87b7b1dd9076707c518604086f5af96991
treeb9d4ca3724b28cd22025fe08e143723ba1666f3a
parentad4c06c656d124366325116124bd278522dd12ce
Prevent ObjectFileELF::GetSectionHeaderInfo() from reparsing section headers.

If we have any section headers in the collection, we already parsed them.
Therefore, don't reparse the section headers when the section_headers collection
is not empty.

See this thread for more details:
http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140707/011721.html

Change by Matthew Gardiner

llvm-svn: 212822
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp