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

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 1 10:55:33 PDT 2021


aganea updated this revision to Diff 369991.
aganea edited the summary of this revision.
aganea added a comment.

Changed `CommonGlobals` to `CommonLinkingContext`. Use it along with `MachOLinkingContext` -- this demonstrates how it will be used for other drivers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108850

Files:
  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/ErrorHandler.cpp
  lld/Common/Globals.cpp
  lld/Common/Memory.cpp
  lld/Common/TargetOptionsCommandFlags.cpp
  lld/Common/Timer.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/LTO.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/Driver.h
  lld/include/lld/Common/ErrorHandler.h
  lld/include/lld/Common/Globals.h
  lld/include/lld/Common/Memory.h
  lld/include/lld/Common/Timer.h
  lld/include/lld/Core/LinkingContext.h
  lld/lib/Driver/DarwinLdDriver.cpp
  lld/tools/lld/lld.cpp
  lld/wasm/Driver.cpp
  lld/wasm/InputFiles.cpp
  lld/wasm/LTO.cpp
  lld/wasm/SymbolTable.cpp
  lld/wasm/Writer.cpp
  llvm/include/llvm/LTO/LTO.h
  llvm/include/llvm/Support/Parallel.h
  llvm/lib/LTO/LTO.cpp
  llvm/lib/Support/Parallel.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108850.369991.patch
Type: text/x-patch
Size: 97169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210901/49260885/attachment-0001.bin>


More information about the llvm-commits mailing list