diff options
author | Fangrui Song <i@maskray.me> | 2025-03-12 23:00:02 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-03-12 23:00:03 -0700 |
commit | 5d5f16204f17eae903d5cead75f31a41e7e960d4 (patch) | |
tree | 71ee38f8b2afe6cc277d2799b42170e4b0a32e0d /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp | |
parent | 95e186cadfc880ba5f7a1d90c075cf097e33ff62 (diff) | |
download | llvm-5d5f16204f17eae903d5cead75f31a41e7e960d4.zip llvm-5d5f16204f17eae903d5cead75f31a41e7e960d4.tar.gz llvm-5d5f16204f17eae903d5cead75f31a41e7e960d4.tar.bz2 |
Move PowerPC-specific MCSymbolRefExpr::VariantKind to PPCMCExpr
Most changes are mechanic, except:
* ELFObjectWriter::shouldRelocateWithSymbol: .TOC.@tocbase does not
register the undefined symbol. Move the handling into the
Sym->isUndefined() code path.
* ELFObjectWriter::fixSymbolsInTLSFixups's VK_PPC* cases are moved to
PPCELFObjectWriter::getRelocType. We should do similar refactoring
for other targets and eventually remove fixSymbolsInTLSFixups.
In the future, we should classify PPCMCExpr similar to AArch64MCExpr.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions