[all-commits] [llvm/llvm-project] 53dc4e: [ELF] createSyntheticSections: replace some make<>...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Nov 17 00:09:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53dc4e7600f95ae232bc49b9051f77199e79ec13
      https://github.com/llvm/llvm-project/commit/53dc4e7600f95ae232bc49b9051f77199e79ec13
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-11-17 (Sun, 17 Nov 2024)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/SyntheticSections.cpp

  Log Message:
  -----------
  [ELF] createSyntheticSections: replace some make<> with unique_ptr

This removes some SpecificAlloc instantiations and makes lld smaller.
This drops the small memory waste due to the separate BumpPtrAllocator.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list