hotpatch

Tells the compiler to prepare a routine for hotpatching.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

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


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.