[clang] [llvm] Add support for Windows hot-patching (PR #138972)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 13:48:03 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
----------------
aganea wrote:

Thank you! Are you able to exclude (and warn for) 32-bit (i386) and ARM/ARM64? We have users that target these archs on Windows.

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


More information about the llvm-commits mailing list