diff options
author | Daniel Hoekwater <hoekwater@google.com> | 2023-07-27 17:51:47 +0000 |
---|---|---|
committer | Daniel Hoekwater <hoekwater@google.com> | 2023-07-27 21:27:11 +0000 |
commit | f1c21faeb2f66822895271c37de6d4b0ed6a5dce (patch) | |
tree | 231ea09375abe135b6dc701215a8f2b7dd564872 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 723e424e56c72a7f21eb86b0305f8e9823e8851a (diff) | |
download | llvm-f1c21faeb2f66822895271c37de6d4b0ed6a5dce.zip llvm-f1c21faeb2f66822895271c37de6d4b0ed6a5dce.tar.gz llvm-f1c21faeb2f66822895271c37de6d4b0ed6a5dce.tar.bz2 |
[AArch64] Switch magic numbers to library functions in fixup
Using masks and bounds that are magic numbers means that defects
in bounds checking and offset masking are subtle and hard to
detect. https://reviews.llvm.org/D152841 is an example of this
type of defect. Switching to clearly readable library functions
makes defects less obfuscated.
Differential Revision: https://reviews.llvm.org/D152843
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions