commit | c22eb2bea61c3099eab67d2f32771fc7112992cd | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jul 21 20:50:53 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jul 21 20:50:53 2015 +0000 |
tree | f58a7e3809dd2a9142101abd5252d181138d6fe9 | |
parent | 85223309d767e32571fe852f6b97d2183c2b4319 [diff] |
Don't iterate over the program headers in the constructor of ELFFile. Not every program needs this information. In particular, it is necessary and sufficient for a static linker to scan the section table. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242833 91177308-0d34-0410-b5e6-96231b3b80d8