[PATCH] D143802: [XRay] Add generic patchable-function-entry NOP sled implementation

duk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 11 09:50:25 PST 2023


duck-37 updated this revision to Diff 496694.
duck-37 retitled this revision from "[XRay] Make patchable-function-entry NOP sled implementation target-independent" to "[XRay] Add generic patchable-function-entry NOP sled implementation".
duck-37 edited the summary of this revision.
duck-37 added a comment.
Herald added a subscriber: kristof.beyls.

Changed some wording in the review, used a virtual function instead of hardcoded `emitNops` call so that X86 (and potentially other targets) can use their own implementations if necessary.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143802/new/

https://reviews.llvm.org/D143802

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
  llvm/lib/Target/RISCV/RISCVMCInstLower.cpp
  llvm/lib/Target/X86/X86AsmPrinter.h
  llvm/lib/Target/X86/X86MCInstLower.cpp
  llvm/test/CodeGen/ARM/patchable-function-entry.ll
  llvm/test/CodeGen/Hexagon/patchable-function-entry.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143802.496694.patch
Type: text/x-patch
Size: 6170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230211/22294c5c/attachment.bin>


More information about the llvm-commits mailing list