[all-commits] [llvm/llvm-project] 60ab8c: [lld][macho] Use reloc length correctly in hash co...
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Mon Oct 27 14:48:25 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 60ab8c89673a84a34e4245c5a590c45e22852f13
https://github.com/llvm/llvm-project/commit/60ab8c89673a84a34e4245c5a590c45e22852f13
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2025-10-27 (Mon, 27 Oct 2025)
Changed paths:
M lld/MachO/BPSectionOrderer.cpp
Log Message:
-----------
[lld][macho] Use reloc length correctly in hash computation (#165287)
`Reloc::length` actually encodes the log2 of the length. Thanks @int3
for pointing this out in
https://github.com/llvm/llvm-project/issues/160894#issuecomment-3416250179.
This code computes hashes of relocations. With the correct length, the
hashes should more accurately represent the relocation. In my testing of
some large binaries, the compressed size change is negligable.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list