[all-commits] [llvm/llvm-project] ad26b0: Revert "[ELF] Make Partition/InStruct members uniq...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 22 23:55:25 PST 2021


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

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/ELF/InputFiles.cpp
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  Revert "[ELF] Make Partition/InStruct members unique_ptr and remove associate make<XXX>"

This reverts commit e48b1c8a27f0fbd791edc8e45756b268caadfa66.
This reverts commit d019de23a1d761225fdaf0c47394ba58143aea9a.

The changes caused memory leaks (non-final classes cannot use unique_ptr).




More information about the All-commits mailing list