[PATCH] D72215: [AArch64] Add function attribute "patchable-function-entry" to add NOPs at function entry
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 6 23:58:27 PST 2020
MaskRay updated this revision to Diff 236528.
MaskRay added a comment.
Add __patchable_function_entries section
GCC's implementation has 2 problems: (1) it does not set the SHF_WRITE flag https://gcc.gnu.org/ml/gcc/2020-01/msg00048.html (2) sh_addralign is not pointersize
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72215/new/
https://reviews.llvm.org/D72215
Files:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/PatchableFunction.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
llvm/test/CodeGen/AArch64/patchable-function-entry.ll
llvm/test/Verifier/invalid-patchable-function-entry.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72215.236528.patch
Type: text/x-patch
Size: 6509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200107/f13a9edc/attachment.bin>
More information about the llvm-commits
mailing list