[all-commits] [llvm/llvm-project] 5de1d0: [lld-macho] Fix for objc_msgSend stubs (#78557)
kyulee-com via All-commits
all-commits at lists.llvm.org
Thu Jan 18 10:46:42 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5de1d007ddc5b13a643ebedce42c5c164cd3bec2
https://github.com/llvm/llvm-project/commit/5de1d007ddc5b13a643ebedce42c5c164cd3bec2
Author: kyulee-com <kyulee at meta.com>
Date: 2024-01-18 (Thu, 18 Jan 2024)
Changed paths:
M lld/MachO/Arch/ARM64Common.h
A lld/test/MachO/arm64-objc-stubs-fix.s
Log Message:
-----------
[lld-macho] Fix for objc_msgSend stubs (#78557)
This commit corrects the address computation for objc_msgSend stubs.
Previously, the address computation was incidentally correct due to
objc_msgSend often being the first entry in the got section, resulting
in a 0 index. This commit ensures accurate address computation
regardless of the objc_msgSend stub's position in the got section.
More information about the All-commits
mailing list