diff options
| author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2025-10-27 14:48:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-27 14:48:04 -0700 |
| commit | 60ab8c89673a84a34e4245c5a590c45e22852f13 (patch) | |
| tree | 762fa220745eb4ed9066bbf27270db8834d66510 /clang/test/AST/ByteCode/codegen-cxx20.cpp | |
| parent | 585da50d7d651ae3fcdd1368204ecc7d8250db24 (diff) | |
| download | llvm-60ab8c89673a84a34e4245c5a590c45e22852f13.zip llvm-60ab8c89673a84a34e4245c5a590c45e22852f13.tar.gz llvm-60ab8c89673a84a34e4245c5a590c45e22852f13.tar.bz2 | |
[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.
Diffstat (limited to 'clang/test/AST/ByteCode/codegen-cxx20.cpp')
0 files changed, 0 insertions, 0 deletions
