Developer Guide and Reference

Contents

hotpatch

Tells the compiler to prepare a routine for hotpatching.

Syntax

Linux:
-hotpatch
[
=
n
]
macOS:
None
Windows:
/hotpatch
[
:
n
]
Arguments
n
An integer specifying the number of bytes the compiler should add before the function entry point.
Default
OFF
The compiler does not prepare routines for hotpatching.
Description
This option tells the compiler to prepare a routine for hotpatching. The compiler inserts nop padding around function entry points so that the resulting image is hot patchable.
Specifically, the compiler adds nop bytes after each function entry point and enough nop bytes before the function entry point to fit a direct jump instruction on the target architecture.
If
n
is specified, it overrides the default number of bytes that the compiler adds before the function entry point.
Alternate Options
None

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804