aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/ByteCode/codegen-cxx20.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2025-10-27 14:48:04 -0700
committerGitHub <noreply@github.com>2025-10-27 14:48:04 -0700
commit60ab8c89673a84a34e4245c5a590c45e22852f13 (patch)
tree762fa220745eb4ed9066bbf27270db8834d66510 /clang/test/AST/ByteCode/codegen-cxx20.cpp
parent585da50d7d651ae3fcdd1368204ecc7d8250db24 (diff)
downloadllvm-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