diff options
author | alx32 <103613512+alx32@users.noreply.github.com> | 2024-07-02 14:11:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 14:11:13 -0700 |
commit | 9fa7f401b2651663407562932529f72142bf8aaa (patch) | |
tree | 80a2e33bc21cf53c9b4e0a67952227f6e677fe0e /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 2ee86a1ebb9be7ff7be893b411a4af0a1dcee420 (diff) | |
download | llvm-9fa7f401b2651663407562932529f72142bf8aaa.zip llvm-9fa7f401b2651663407562932529f72142bf8aaa.tar.gz llvm-9fa7f401b2651663407562932529f72142bf8aaa.tar.bz2 |
[lld-macho] Category merger: handle addends when getting symbol at offset (#91238)
Currently the `tryFindDefinedOnIsec` takes in an `InputSection` and an
`offset` and is supposed to return the target symbol that is referenced
on that `InputSection` at the given offset.
However, it does not deal with the reloc `addend` and might return the
incorrect symbol.
Here we add support for handling the reloc's `addend`.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions