[all-commits] [llvm/llvm-project] a8d6d2: [ELF] Replace make<Defined> with makeDefined. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 15 13:15:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8d6d2614b1807318ae1833f4fcc75d94028fcb2
      https://github.com/llvm/llvm-project/commit/a8d6d2614b1807318ae1833f4fcc75d94028fcb2
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M lld/ELF/Relocations.cpp
    M lld/ELF/Symbols.h
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Replace make<Defined> with makeDefined. NFC

This removes SpecificAlloc<Defined> and makes my lld executable 1.5k smaller.
This drops the small memory waste due to the separate BumpPtrAllocator.




More information about the All-commits mailing list