diff options
author | Stefan Gränitz <stefan.graenitz@gmail.com> | 2023-11-24 21:45:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-24 21:45:50 +0100 |
commit | b86420c614b57342e752ff40359e09c85b940475 (patch) | |
tree | 68551c76381f5212c0cb4c7fa0c134a91d53ce8b /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 95dcb8b49dd3bb0fcb9f020fe931632a0ddf4994 (diff) | |
download | llvm-b86420c614b57342e752ff40359e09c85b940475.zip llvm-b86420c614b57342e752ff40359e09c85b940475.tar.gz llvm-b86420c614b57342e752ff40359e09c85b940475.tar.bz2 |
[JITLink][AArch32] Add dynamic lookup for relocation fixup infos (#71649)
Specifying relocation fixup constants with name and type facilitates
readability and compile-time checks. The `FixupInfo<EdgeKind>` facade
organizes the information into entries per relocation type and provides
uniform access across Arm and Thumb relocations. Since it uses template
specializations, it doesn't limit potential entries. We cannot access
the entries dynamically though, because `EdgeKind` must be given as a
compile-time constant.
With this patch we populate a static lookup table on-demand and use it
for dynamic access in opcode-checks.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions