[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 17:20:08 PST 2020
MaskRay updated this revision to Diff 236485.
MaskRay added a comment.
Address comments.
The section __patchable_function_entries needs more thoughts so it is not
implemented. I'll probably use SHF_LINK_ORDER when -ffunction-sections, and add
SHF_WRITE (to prevent text relocations; apparently GCC does not consider these
issues).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72215/new/
https://reviews.llvm.org/D72215
Files:
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.236485.patch
Type: text/x-patch
Size: 3845 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200107/3f53edf9/attachment.bin>
More information about the llvm-commits
mailing list