diff options
| author | Fangrui Song <i@maskray.me> | 2025-07-15 00:21:07 -0700 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2025-07-15 00:21:07 -0700 |
| commit | 5ba458c559b04efca307dc86f8265cf6dffaf666 (patch) | |
| tree | fd843cf067bc600cd67d2cfb7c2dec8eec718ffb /llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | |
| parent | 0991435fc3e638caad036085f73d8e7a62bfb60f (diff) | |
MCFixup: Replace getTargetKind with getKind
Diffstat (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp index 31e6cc5e7e81..164acdec4544 100644 --- a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp +++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp @@ -316,7 +316,7 @@ bool ARMAsmBackend::fixupNeedsRelaxationAdvanced(const MCFixup &Fixup, uint64_t Value, bool Resolved) const { const MCSymbol *Sym = Target.getAddSym(); - if (needsInterworking(*Asm, Sym, Fixup.getTargetKind())) + if (needsInterworking(*Asm, Sym, Fixup.getKind())) return true; if (!Resolved) @@ -947,7 +947,7 @@ bool ARMAsmBackend::shouldForceRelocation(const MCFixup &Fixup, } // Create relocations for unconditional branches to function symbols with // different execution mode in ELF binaries. - if (needsInterworking(*Asm, Sym, Fixup.getTargetKind())) + if (needsInterworking(*Asm, Sym, Fixup.getKind())) return true; // We must always generate a relocation for BL/BLX instructions if we have // a symbol to reference, as the linker relies on knowing the destination |
