[all-commits] [llvm/llvm-project] 1f7f26: StackProtector: use isInTailCallPosition to verify...
Liqiang TAO via All-commits
all-commits at lists.llvm.org
Sun Mar 30 11:21:40 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f7f268f304d02f0cea33ab63a21de57ba4a5a3c
https://github.com/llvm/llvm-project/commit/1f7f268f304d02f0cea33ab63a21de57ba4a5a3c
Author: Liqiang TAO <taolq at outlook.com>
Date: 2025-03-30 (Sun, 30 Mar 2025)
Changed paths:
M llvm/lib/CodeGen/StackProtector.cpp
M llvm/test/CodeGen/X86/tailcc-ssp.ll
Log Message:
-----------
StackProtector: use isInTailCallPosition to verify tail call position (#68997)
The issue is caused by [D133860](https://reviews.llvm.org/D133860).
The guard would be inserted in wrong place in some cases, like the test
case showed below.
This patch fixed the issue by using `isInTailCallPosition()` to verify
whether the tail call is in right position.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list