diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-05 17:54:19 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-05 17:54:19 +0000 |
| commit | bcb1ea8ef62fba49d0e634e1943f829687323314 (patch) | |
| tree | 6664c50a10afb343d84d779f27c4c20d5b1e1b3a /lib/DebugInfo/DWARFAbbreviationDeclaration.cpp | |
| parent | 31588f300500d290e43952fcd8dd8e7f2bb460eb (diff) | |
| download | external_llvm-bcb1ea8ef62fba49d0e634e1943f829687323314.zip external_llvm-bcb1ea8ef62fba49d0e634e1943f829687323314.tar.gz external_llvm-bcb1ea8ef62fba49d0e634e1943f829687323314.tar.bz2 | |
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
Diffstat (limited to 'lib/DebugInfo/DWARFAbbreviationDeclaration.cpp')
0 files changed, 0 insertions, 0 deletions
