You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -21,18 +20,17 @@ Prepares an image for hot patching.
21
20
22
21
## Remarks
23
22
24
-
When `/hotpatch` is used in compilation, the compiler ensures that the first instruction of each function is at least 2 bytes long, and no jump within the function goes to the first instruction. These conditions are required for hot patching.
23
+
When `/hotpatch` is used during compilation, the compiler ensures that the first instruction of each function is at least 2 bytes long and that no jump within the function goes to the first instruction. These conditions are required for hotpatching.
25
24
26
-
To complete the preparation for making an image hotpatchable, after you use `/hotpatch` to compile, you must use [`/functionpadmin`](functionpadmin-create-hotpatchable-image.md)(Create Hotpatchable Image)]to link. When you compile and link an image by using one invocation of cl.exe, `/hotpatch` implies `/functionpadmin`.
25
+
To complete the preparation for making an image hotpatchable, after you compile with `/hotpatch`, use [`/functionpadmin`](functionpadmin-create-hotpatchable-image.md) to link. When you compile and link an image using one invocation of `cl.exe`, `/hotpatch` implies `/functionpadmin`.
27
26
28
27
> [!TIP]
29
28
> Arm64 and x64 architectures are always treated as hotpatchable. But you must still link by using `/functionpadmin` to create hotpatchable images for them.
29
+
30
30
### To set this compiler option in the Visual Studio development environment
31
31
32
32
1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
0 commit comments