[llvm] [RISCV][MC] Pass MCSubtargetInfo down to shouldForceRelocation and evaluateTargetFixup. (PR #73721)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 11:36:31 PST 2023
================
@@ -101,7 +101,8 @@ class MCAsmBackend {
/// Hook to check if a relocation is needed for some target specific reason.
virtual bool shouldForceRelocation(const MCAssembler &Asm,
const MCFixup &Fixup,
- const MCValue &Target) {
+ const MCValue &Target,
+ const MCSubtargetInfo *STI) {
----------------
ilovepi wrote:
Thanks for the clarification, and yeah, we tend to shadow quite a lot I'm noticing, so you can ignore that concern.
https://github.com/llvm/llvm-project/pull/73721
More information about the llvm-commits
mailing list