diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2024-09-23 11:04:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 10:04:08 +0100 |
commit | 0b0a37e158bcf6d0667b4744b3d335f91578e0c9 (patch) | |
tree | 53a48029b05bdf779c3efc2d4a6396ad2cc17038 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | 02ee96eca90741031a26f0f06cd48bb0ba558d1a (diff) | |
download | llvm-0b0a37e158bcf6d0667b4744b3d335f91578e0c9.zip llvm-0b0a37e158bcf6d0667b4744b3d335f91578e0c9.tar.gz llvm-0b0a37e158bcf6d0667b4744b3d335f91578e0c9.tar.bz2 |
[clang] Lifetime of locals must end before musttail call (#109255)
The lifetimes of local variables and function parameters must end before
the call to a [[clang::musttail]] function, instead of before the
return, because we will not have a stack frame to hold them when doing
the call.
This documents this limitation, and adds diagnostics to warn about some
code which is invalid because of it.
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions