Skip to content

Commit 8538aac

Browse files
author
Colin Robertson
authored
Merge pull request #3980 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main)
2 parents bf693ed + 78ebade commit 8538aac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/build/reference/hotpatch-create-hotpatchable-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Learn more about: /hotpatch (Create Hotpatchable Image)"
33
title: "/hotpatch (Create Hotpatchable Image)"
4-
ms.date: "11/12/2018"
4+
ms.date: "12/7/2021"
55
f1_keywords: ["/hotpatch", "VC.Project.VCCLCompilerTool.CreateHotpatchableImage"]
66
helpviewer_keywords: ["hot patching", "-hotpatch compiler option [C++]", "/hotpatch compiler option [C++]", "hotpatching"]
77
ms.assetid: aad539b6-c053-4c78-8682-853d98327798
@@ -18,7 +18,7 @@ Prepares an image for hot patching.
1818

1919
## Remarks
2020

21-
When **/hotpatch** is used in a compilation, the compiler ensures that first instruction of each function is at least two bytes, which is required for hot patching.
21+
When **/hotpatch** is used in a compilation, the compiler ensures that the first instruction of each function is at least two bytes, and no jump within the function goes to the first instruction. These conditions are required for hot patching.
2222

2323
To complete the preparation for making an image hotpatchable, after you use **/hotpatch** to compile, you must use [/FUNCTIONPADMIN (Create Hotpatchable Image)](functionpadmin-create-hotpatchable-image.md) to link. When you compile and link an image by using one invocation of cl.exe, **/hotpatch** implies **/functionpadmin**.
2424

0 commit comments

Comments
 (0)