[PATCH] D26006: Further reduce the number of allocators

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 12:42:45 PDT 2016


rafael created this revision.
rafael added a reviewer: ruiu.
rafael added a subscriber: llvm-commits.

This uses the same allocators for sections.

It ranges from a tiny slowdown to a quite noticeable speedup.

In a followup patch I will try to further reduce the number of allocators and simplify the code by using a global variable.


https://reviews.llvm.org/D26006

Files:
  ELF/Driver.cpp
  ELF/ICF.cpp
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/InputSection.cpp
  ELF/LinkerScript.cpp
  ELF/MarkLive.cpp
  ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26006.75931.patch
Type: text/x-patch
Size: 13710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161026/76656359/attachment.bin>


More information about the llvm-commits mailing list