[PATCH] D110450: [LLD] Remove global state in lld/COFF
Amy Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 24 15:47:49 PDT 2021
akhuang created this revision.
Herald added subscribers: ormris, mstorsjo, steven_wu, mgrang, hiraditya.
akhuang requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Remove globals from the lldCOFF library, by moving globals into a context class.
This patch mostly moves the config object into COFFLinkerContext.
See https://lists.llvm.org/pipermail/llvm-dev/2021-June/151184.html for
context about removing globals from LLD.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110450
Files:
lld/COFF/COFFLinkerContext.cpp
lld/COFF/COFFLinkerContext.h
lld/COFF/CallGraphSort.cpp
lld/COFF/Chunks.cpp
lld/COFF/Chunks.h
lld/COFF/Config.h
lld/COFF/DLL.cpp
lld/COFF/DLL.h
lld/COFF/DebugTypes.cpp
lld/COFF/Driver.cpp
lld/COFF/Driver.h
lld/COFF/DriverUtils.cpp
lld/COFF/ICF.cpp
lld/COFF/ICF.h
lld/COFF/InputFiles.cpp
lld/COFF/InputFiles.h
lld/COFF/LLDMapFile.cpp
lld/COFF/LTO.cpp
lld/COFF/LTO.h
lld/COFF/MapFile.cpp
lld/COFF/MarkLive.cpp
lld/COFF/MinGW.cpp
lld/COFF/MinGW.h
lld/COFF/PDB.cpp
lld/COFF/SymbolTable.cpp
lld/COFF/SymbolTable.h
lld/COFF/Symbols.cpp
lld/COFF/Symbols.h
lld/COFF/TypeMerger.h
lld/COFF/Writer.cpp
lld/COFF/Writer.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110450.374974.patch
Type: text/x-patch
Size: 231375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210924/a2433233/attachment-0001.bin>
More information about the llvm-commits
mailing list