[all-commits] [llvm/llvm-project] 477bc3: [lld-macho] Change some global pointers to unique_ptr

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jan 10 19:39:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 477bc36d3b2a1b086a6ace385f73bae4a6d84b65
      https://github.com/llvm/llvm-project/commit/477bc36d3b2a1b086a6ace385f73bae4a6d84b65
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Driver.h
    M lld/MachO/SymbolTable.cpp
    M lld/MachO/SymbolTable.h

  Log Message:
  -----------
  [lld-macho] Change some global pointers to unique_ptr

Similar to D116143. My x86-64 `lld` is ~8KiB smaller.

Reviewed By: keith

Differential Revision: https://reviews.llvm.org/D116902




More information about the All-commits mailing list