diff options
author | Fangrui Song <i@maskray.me> | 2025-01-16 09:31:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-16 09:31:42 -0800 |
commit | 60e4d24963ebc256dd68f2f9d969ca8e52cd9649 (patch) | |
tree | c824635a73ecc80d9b584242daceb39181814c94 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces | |
parent | 94fee13d425094e11d0b3799e827dec2451f017b (diff) | |
download | llvm-60e4d24963ebc256dd68f2f9d969ca8e52cd9649.zip llvm-60e4d24963ebc256dd68f2f9d969ca8e52cd9649.tar.gz llvm-60e4d24963ebc256dd68f2f9d969ca8e52cd9649.tar.bz2 |
[lld-macho,BalancedPartition] Simplify relocation hash and avoid xxHash
xxHash, inferior to xxh3, is discouraged. We try not to use xxhash in
lld.
Switch to read32le for content hash and xxh3/stable_hash_combine for
relocation hash. Remove the intermediate std::string for relocation
hash.
Change the tail hashing scheme to consider individual bytes instead.
This helps group 0102 and 0201 together. The benefit is negligible,
though.
Pull Request: https://github.com/llvm/llvm-project/pull/121729
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces')
0 files changed, 0 insertions, 0 deletions