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 /clang/lib/CodeGen/CGCall.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 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index c8c3d6b..fd75de4 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -2660,13 +2660,6 @@ void CodeGenModule::ConstructAttributeList(StringRef Name, // CPU/feature overrides. addDefaultFunctionDefinitionAttributes // handles these separately to set them based on the global defaults. GetCPUAndFeaturesAttributes(CalleeInfo.getCalleeDecl(), FuncAttrs); - - // Windows hotpatching support - if (!MSHotPatchFunctions.empty()) { - bool IsHotPatched = llvm::binary_search(MSHotPatchFunctions, Name); - if (IsHotPatched) - FuncAttrs.addAttribute("marked_for_windows_hot_patching"); - } } // Mark functions that are replaceable by the loader. |