[PATCH] D108850: [LLD] Remove global state in lldCommon

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 30 17:07:31 PST 2021


aganea updated this revision to Diff 396735.
aganea added a comment.

Fix memory leaks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108850/new/

https://reviews.llvm.org/D108850

Files:
  lld/COFF/COFFLinkerContext.h
  lld/COFF/Chunks.cpp
  lld/COFF/DLL.cpp
  lld/COFF/Driver.cpp
  lld/COFF/DriverUtils.cpp
  lld/COFF/InputFiles.cpp
  lld/COFF/LTO.cpp
  lld/COFF/MinGW.cpp
  lld/COFF/PDB.cpp
  lld/COFF/SymbolTable.cpp
  lld/COFF/Writer.cpp
  lld/Common/CMakeLists.txt
  lld/Common/CommonLinkerContext.cpp
  lld/Common/ErrorHandler.cpp
  lld/Common/Memory.cpp
  lld/Common/TargetOptionsCommandFlags.cpp
  lld/ELF/AArch64ErrataFix.cpp
  lld/ELF/ARMErrataFix.cpp
  lld/ELF/Arch/PPC64.cpp
  lld/ELF/Driver.cpp
  lld/ELF/DriverUtils.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputSection.cpp
  lld/ELF/LinkerScript.cpp
  lld/ELF/MarkLive.cpp
  lld/ELF/ScriptParser.cpp
  lld/ELF/SyntheticSections.cpp
  lld/ELF/Thunks.cpp
  lld/ELF/Writer.cpp
  lld/MachO/ConcatOutputSection.cpp
  lld/MachO/Driver.cpp
  lld/MachO/DriverUtils.cpp
  lld/MachO/InputFiles.cpp
  lld/MachO/LTO.cpp
  lld/MachO/SyntheticSections.cpp
  lld/MachO/Writer.cpp
  lld/MinGW/Driver.cpp
  lld/include/lld/Common/CommonLinkerContext.h
  lld/include/lld/Common/Driver.h
  lld/include/lld/Common/ErrorHandler.h
  lld/include/lld/Common/Memory.h
  lld/include/lld/Core/LinkingContext.h
  lld/tools/lld/lld.cpp
  lld/wasm/Driver.cpp
  lld/wasm/InputFiles.cpp
  lld/wasm/SymbolTable.cpp
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108850.396735.patch
Type: text/x-patch
Size: 87871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211231/84469cad/attachment-0001.bin>


More information about the llvm-commits mailing list