diff options
author | Fangrui Song <i@maskray.me> | 2024-08-03 11:20:32 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-08-03 11:20:32 -0700 |
commit | 03be619d9434de0a9616660a2119675635239a5b (patch) | |
tree | 862a22564b3c67efd2a5863db4b33b90b8b45014 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 09dd0febbbd59a0c470b3909690cae6618a2416a (diff) | |
download | llvm-03be619d9434de0a9616660a2119675635239a5b.zip llvm-03be619d9434de0a9616660a2119675635239a5b.tar.gz llvm-03be619d9434de0a9616660a2119675635239a5b.tar.bz2 |
[ELF] Move ElfSym into Ctx. NFC
Ctx was introduced in March 2022 as a more suitable place for such
singletons. ctx's hidden visibility optimizes generated instructions.
This change fixes a pitfall: certain ElfSym members (e.g.
globalOffsetTable, tlsModuleBase) were not zeroed and might be stale
when lld::elf::link was invoked the second time.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions