diff options
| author | Fangrui Song <i@maskray.me> | 2025-07-02 23:14:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-02 23:14:11 -0700 |
| commit | dd2891535d4b6d80f92d9a69e9db3b787203b9d0 (patch) | |
| tree | 111cb6caf858462d4a6528974f6f5da7432a1bba /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp | |
| parent | 119705e5ad2b7e4bfc55f7df9a8fbaa7504aedbd (diff) | |
MCAsmBackend: Merge addReloc into applyFixup (#146820)
Follow-up to #141333. Relocation generation called both addReloc and
applyFixup, with the default addReloc invoking shouldForceRelocation,
resulting in three virtual calls. This approach was also inflexible, as
targets needing additional data required extending
`shouldForceRelocation` (see #73721, resolved by #141311).
This change integrates relocation handling into applyFixup, eliminating
two virtual calls. The prior default addReloc is renamed to
maybeAddReloc. Targets overriding addReloc now call their customized
addReloc implementation.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
