llvm-project/lld/ELF/Arch
Alexandre Ganea 83d59e05b2 Re-land [LLD] Remove global state in lldCommon
Move all variables at file-scope or function-static-scope into a hosting structure (lld::CommonLinkerContext) that lives at lldMain()-scope. Drivers will inherit from this structure and add their own global state, in the same way as for the existing COFFLinkerContext.

See discussion in https://lists.llvm.org/pipermail/llvm-dev/2021-June/151184.html

The previous land f860fe3622 caused issues in https://lab.llvm.org/buildbot/#/builders/123/builds/8383, fixed by 22ee510dac.

Differential Revision: https://reviews.llvm.org/D108850
2022-01-20 14:53:26 -05:00
..
AArch64.cpp [lld] Fix typo. NFC 2022-01-18 02:33:27 +00:00
AMDGPU.cpp [ELF] Replace noneRel = R_*_NONE with static constexpr. NFC 2021-09-25 15:16:44 -07:00
ARM.cpp [ARM] implement support for ALU/LDR PC-relative group relocations 2021-11-27 10:26:37 +01:00
AVR.cpp [ELF] Replace noneRel = R_*_NONE with static constexpr. NFC 2021-09-25 15:16:44 -07:00
Hexagon.cpp [ELF] Rename hasStaticTlsModel to hasTlsIe 2021-11-24 21:06:04 -08:00
MSP430.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
Mips.cpp [ELF][Mips] Use R_DTPREL for R_MIPS_TLS_DTPREL* 2021-10-30 21:58:43 -07:00
MipsArchTree.cpp [lib/Object] - Refine interface of ELFFile<ELFT>. NFCI. 2020-09-15 11:38:31 +03:00
PPC.cpp [ELF] Move gotIndex/pltIndex/globalDynIndex to SymbolAux 2022-01-09 13:43:27 -08:00
PPC64.cpp Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
PPCInsns.def [LLD][PowerPC] Implement GOT to PC-Rel relaxation 2020-08-17 09:36:09 -05:00
RISCV.cpp [ELF] Rename hasStaticTlsModel to hasTlsIe 2021-11-24 21:06:04 -08:00
SPARCV9.cpp [ELF] Replace noneRel = R_*_NONE with static constexpr. NFC 2021-09-25 15:16:44 -07:00
X86.cpp [ELF] Move gotIndex/pltIndex/globalDynIndex to SymbolAux 2022-01-09 13:43:27 -08:00
X86_64.cpp [ELF] Make some diagnostics follow the convention 2022-01-15 10:46:25 -08:00