[PATCH] D26042: Consolidate BumpPtrAllocators.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 12:20:19 PDT 2016


ruiu created this revision.
ruiu added a reviewer: rafael.
ruiu added a subscriber: llvm-commits.
Herald added subscribers: mgorny, mehdi_amini.

Previously, we have a lot of BumpPtrAllocators, but all these
allocators virtually have the same lifetime because they are
not freed until the linker finishes its job. This patch aggregates
them into a single allocator.


https://reviews.llvm.org/D26042

Files:
  ELF/CMakeLists.txt
  ELF/Driver.cpp
  ELF/Driver.h
  ELF/DriverUtils.cpp
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/LTO.cpp
  ELF/LTO.h
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/Memory.cpp
  ELF/Memory.h
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h
  ELF/Symbols.cpp
  ELF/Symbols.h
  ELF/Thunks.cpp
  ELF/Writer.cpp
  ELF/Writer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26042.76082.patch
Type: text/x-patch
Size: 22913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161027/90a61588/attachment.bin>


More information about the llvm-commits mailing list