commit | bcb1ea8ef62fba49d0e634e1943f829687323314 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Jun 05 17:54:19 2013 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Jun 05 17:54:19 2013 +0000 |
tree | 6664c50a10afb343d84d779f27c4c20d5b1e1b3a | |
parent | 31588f300500d290e43952fcd8dd8e7f2bb460eb [diff] |
Represent symbols with a SymbolIndex,SectionIndex pair. With this patch we use the SectionIndex directly, instead of counting the number of symbol tables. This saves a DenseMap lookup every time we want to find which symbol a relocation refers to. Also simplify based on the fact that there is at most one SHT_SYMTAB and one SHT_DYNSYM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183326 91177308-0d34-0410-b5e6-96231b3b80d8