diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2024-05-27 14:11:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 14:11:21 -0700 |
commit | a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a (patch) | |
tree | 80ca63ca7551e04bc834418e47de8b29b065f900 /clang/unittests/Format/ConfigParseTest.cpp | |
parent | f114eddb1923289b696f1b0980cc22c4dbaafa22 (diff) | |
download | llvm-a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a.zip llvm-a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a.tar.gz llvm-a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a.tar.bz2 |
[AArch64][PAC] Fix creating check instructions for BBs without an epilog (#92508)
`AArch64PAuth::checkAuthenticatedRegister()` splits the basic block
containing the tail call instruction to add check instructions, assuming
at least one more instruction before the call. This assumption is
incorrect in cases where some execution paths lead to the termination
block without creating the stack frame. This patch rearranges the
creation of the checks so that the prior splitting is not required.
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
0 files changed, 0 insertions, 0 deletions