[PATCH] D17934: [ELF] Implement infrastructure for thunk code creation

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 08:14:24 PDT 2016


atanasyan updated this revision to Diff 52211.
atanasyan marked 7 inline comments as done.
atanasyan added a comment.

- Use TinyPtrVector to store in the InputSection class pointers to SymbolBody which requires thunk creation.
- Create separate Writer::scanRelocsForThunks method for scanning relocations
- Remove thunks alignment. We do not need to do that.
- Simplify InputSectionBase::getSize
- Fix some comments


Repository:
  rL LLVM

http://reviews.llvm.org/D17934

Files:
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  ELF/Symbols.cpp
  ELF/Symbols.h
  ELF/Target.cpp
  ELF/Target.h
  ELF/Writer.cpp
  test/ELF/Inputs/mips-pic.s
  test/ELF/mips-npic-call-pic.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17934.52211.patch
Type: text/x-patch
Size: 19119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160331/a07c72b0/attachment.bin>


More information about the llvm-commits mailing list