aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2024-09-23 11:04:08 +0200
committerGitHub <noreply@github.com>2024-09-23 10:04:08 +0100
commit0b0a37e158bcf6d0667b4744b3d335f91578e0c9 (patch)
tree53a48029b05bdf779c3efc2d4a6396ad2cc17038 /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent02ee96eca90741031a26f0f06cd48bb0ba558d1a (diff)
downloadllvm-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