[llvm] CodeGen: Remove overrides of getSSPStackGuardCheck (PR #164044)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 24 01:49:06 PDT 2025


================
@@ -640,15 +640,6 @@ void X86TargetLowering::insertSSPDeclarations(Module &M) const {
   TargetLowering::insertSSPDeclarations(M);
 }
 
-Function *X86TargetLowering::getSSPStackGuardCheck(const Module &M) const {
-  // MSVC CRT has a function to validate security cookie.
-  if (Subtarget.getTargetTriple().isWindowsMSVCEnvironment() ||
-      Subtarget.getTargetTriple().isWindowsItaniumEnvironment()) {
-    return M.getFunction("__security_check_cookie");
----------------
mstorsjo wrote:

Ok, if you say so, then I'll take your word for it.

https://github.com/llvm/llvm-project/pull/164044


More information about the llvm-commits mailing list