[llvm] [RISCV][MC] Pass MCSubtargetInfo down to shouldForceRelocation and evaluateTargetFixup. (PR #73721)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 28 17:27:16 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) {
----------------
arsenm wrote:
Should this really be allowed to be null? Should it be a reference?
https://github.com/llvm/llvm-project/pull/73721
More information about the llvm-commits
mailing list