[clang] [llvm] Add support for Windows Secure Hot-Patching (PR #138972)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 17 17:19:45 PDT 2025


================
@@ -0,0 +1,38 @@
+; This tests directly annotating a function with marked_for_windows_hot_patching.
+;
+; RUN: llc -mtriple=x86_64-windows < %s | FileCheck %s
----------------
efriedma-quic wrote:

If you put the tests in test/CodeGen/Generic, the test runner will try to run them even if the x86 backend isn't built.  Please move the tests to test/CodeGen/X86.  (Alternatively, you could add a REQUIRES line, but that doesn't seem appropriate here.)

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


More information about the llvm-commits mailing list