llvm-project
e027b925 - [NFCI][ELF] Merge AddendOnly and AddendOnlyWithTargetVA

Commit
61 days ago
[NFCI][ELF] Merge AddendOnly and AddendOnlyWithTargetVA The former is just a special case of the latter, ignoring the expr and always just using the addend, allowing (and enforcing) the sym is null. If we just use dummySym then we don't need to maintain this as a separate case, since R_ADDEND will return the addend unmodified for the call to getRelocTargetVA. Reviewers: MaskRay, arichardson Reviewed By: MaskRay, arichardson Pull Request: https://github.com/llvm/llvm-project/pull/150797
Author
Parents
Loading