[PATCH] D19908: [X86] Support the "ms-hotpatch" attribute.

Charles Davis via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 13:21:00 PDT 2016


cdavis5x updated this revision to Diff 57850.
cdavis5x added a comment.

- Clarify that x86-64 doesn't use a special magic no-op.
- Don't emit patch space with MSVC. The linker adds it for us there.
- Don't force 64-bit functions to use a stack frame. That's only needed for 32-bit.
- Test that, when we do emit the patch space, we emit it before the alignment directive.


http://reviews.llvm.org/D19908

Files:
  docs/LangRef.rst
  lib/CodeGen/PatchableFunction.cpp
  lib/Target/X86/X86AsmPrinter.cpp
  lib/Target/X86/X86AsmPrinter.h
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/ms-hotpatch-attr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19908.57850.patch
Type: text/x-patch
Size: 8841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160519/e1faa750/attachment.bin>


More information about the llvm-commits mailing list