HomePhabricator

[X86] Support function attribute "patchable-function-entry"

Authored by MaskRay on Jan 4 2020, 7:52 PM.

Description

[X86] Support function attribute "patchable-function-entry"

For x86-64, we diverge from GCC -fpatchable-function-entry in that we
emit multi-byte NOPs.

Differential Revision: https://reviews.llvm.org/D72220