diff options
author | Qinkun Bao <qinkun@google.com> | 2025-06-24 13:11:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-24 13:11:52 -0400 |
commit | 4b4782bc868bcca7a92f1253529f148eb61cb628 (patch) | |
tree | 60cb1942ec0d17efdef9fbf46b575f4db00f77a3 /llvm/lib/CodeGen/TargetPassConfig.cpp | |
parent | 0c50971460cb4ff808990ade61e2d5688b9b9d73 (diff) | |
download | llvm-4b4782bc868bcca7a92f1253529f148eb61cb628.zip llvm-4b4782bc868bcca7a92f1253529f148eb61cb628.tar.gz llvm-4b4782bc868bcca7a92f1253529f148eb61cb628.tar.bz2 |
Revert "Add support for Windows Secure Hot-Patching" (#145553)
Reverts llvm/llvm-project#138972
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetPassConfig.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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 |