[clang] [llvm] Add support for Windows hot-patching (PR #138972)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 8 10:31:34 PDT 2025
================
@@ -0,0 +1,20 @@
+// This verifies that hotpatch function attributes are correctly propagated when compiling directly to OBJ.
+//
+// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /Z7 -fms-hotpatch-functions-file=%S/ms-hotpatch-functions.txt /Fo%t.obj %s
----------------
sivadeilra wrote:
Thanks. I've added checks for targeting Windows/COFF to the code.
https://github.com/llvm/llvm-project/pull/138972
More information about the llvm-commits
mailing list