From 4b4782bc868bcca7a92f1253529f148eb61cb628 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Tue, 24 Jun 2025 13:11:52 -0400 Subject: Revert "Add support for Windows Secure Hot-Patching" (#145553) Reverts llvm/llvm-project#138972 --- llvm/lib/CodeGen/TargetPassConfig.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp') diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp index 7d7c6e7..4ae52b0 100644 --- a/llvm/lib/CodeGen/TargetPassConfig.cpp +++ b/llvm/lib/CodeGen/TargetPassConfig.cpp @@ -893,9 +893,6 @@ void TargetPassConfig::addIRPasses() { if (EnableGlobalMergeFunc) addPass(createGlobalMergeFuncPass()); - - if (TM->getTargetTriple().isOSWindows()) - addPass(createWindowsSecureHotPatchingPass()); } /// Turn exception handling constructs into something the code generators can -- cgit v1.1