You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to llvm#141333. MCAssembler.cpp calls both addReloc and
applyFixup, with the default addReloc calling shouldForceRelocation.
The three virtual calls are inefficient.
This patch changes applyFixup to potentially add a relocation,
eliminating two virtual calls. maybeAddReloc is the previous default
`addReloc`. Refactor targets overridding `addReloc` to call their
customized `addReloc` instead.
0 commit comments