diff options
| author | Fangrui Song <i@maskray.me> | 2025-08-07 08:31:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-07 08:31:27 -0700 |
| commit | f9b68838f61972fadfbe70787befc3abeb2efcb5 (patch) | |
| tree | 191cb6d4493f818ff757c720837b4e717897f957 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 0cb98c721bb540febab0fc0094388480940c49b0 (diff) | |
ELF: -r: Call assignAddresses only once
The fixed-point layout algorithm handles linker scripts, thunks, and
relaxOnce (to suppress out-of-range GOT-indirect-to-PC-relative
optimization). These passes are not needed for relocatable links because
they require address information that is not yet available.
Since we don't scan relocations for relocatable links, the
`createThunks` and `relaxOnce` functions are no-ops anyway, making these
passes redundant.
To prevent cluttering the line history, I place the `if (...) break;`
inside the for loop.
Pull Request: https://github.com/llvm/llvm-project/pull/152240
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
