[PATCH] D19908: [X86] Support the "ms-hotpatch" attribute.
Charles Davis via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 13:12:35 PDT 2016
cdavis5x updated this revision to Diff 57387.
cdavis5x added a comment.
- Use Sanjoy's `"patchable-function"` attribute.
- Override `EmitConstantPool()` instead of `EmitFunctionEntryLabel()`.
- Clarify why we're emitting 0xcc bytes (int3 instructions) instead of NOPs.
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.57387.patch
Type: text/x-patch
Size: 7616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/37543ed1/attachment.bin>
More information about the llvm-commits
mailing list