llvm/lld/COFF
Amy Huang 6f7483b1ec Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures
Original commit description:

  [LLD] Remove global state in lld/COFF

  This patch removes globals from the lldCOFF library, by moving globals
  into a context class (COFFLinkingContext) and passing it around wherever
  it's needed.

  See https://lists.llvm.org/pipermail/llvm-dev/2021-June/151184.html for
  context about removing globals from LLD.

  I also haven't moved the `driver` or `config` variables yet.

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

This reverts commit a2fd05ada9.

Original commits were b4fa71eed3
and e03c7e367a.
2021-09-17 17:18:42 -07:00
..
CallGraphSort.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
CallGraphSort.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Chunks.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Chunks.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
CMakeLists.txt Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
COFFLinkerContext.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
COFFLinkerContext.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Config.h [lld/COFF] Improve handling of the /manifestdependency: flag 2021-08-25 14:36:32 -04:00
DebugTypes.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
DebugTypes.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
DLL.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
DLL.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Driver.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Driver.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
DriverUtils.cpp [lld/COFF] Improve handling of the /manifestdependency: flag 2021-08-25 14:36:32 -04:00
ICF.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
ICF.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
InputFiles.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
InputFiles.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
LLDMapFile.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
LLDMapFile.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
LTO.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
LTO.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MapFile.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MapFile.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MarkLive.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MarkLive.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MinGW.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MinGW.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Options.td [lld/COFF] Ignore /LTCG, /LTCG:, /LTCGOUT:, /ILK: flags 2021-08-27 09:13:30 -04:00
PDB.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
PDB.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
README.md
Symbols.cpp
Symbols.h [LLD] [COFF] Add a couple "MinGW only" comments re linking against DLLs. NFC. 2021-07-20 23:57:24 +03:00
SymbolTable.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
SymbolTable.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
TypeMerger.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Writer.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Writer.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00

See docs/NewLLD.rst