[PATCH] D35236: Refactor gdb index creation

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 18:40:04 PDT 2017


rafael created this revision.
Herald added subscribers: aprantl, emaste.

I have a patch to let DwarfContext defer to lld for getting section contents and relocations.

That is a pretty big performance improvement.

This is just a refactoring to make that easier to do.

This change makes the *creation* of gdb index a dedicated step and makes that templated. That is so that we can uses Elf_Rel in the code.

The change also removes the pubnames and pubtypes later, so that there is an InputSection for them that we can use.


https://reviews.llvm.org/D35236

Files:
  ELF/GdbIndex.h
  ELF/InputFiles.cpp
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h
  ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35236.105956.patch
Type: text/x-patch
Size: 8037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170711/d49c05a8/attachment.bin>


More information about the llvm-commits mailing list