[PATCH] D143802: [XRay] Make patchable-function-entry NOP sled implementation target-independentThis patch generalizes the logic for patchable-function-entry NOP sleds, which extends support for them to all architectures that support XRay. A consequence of this...

duk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 19:33:26 PST 2023


duck-37 created this revision.
duck-37 added a reviewer: MaskRay.
Herald added subscribers: luke, frasercrmck, luismarques, apazos, sameer.abuasal, pengfei, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson, dberris.
Herald added a project: All.
duck-37 requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.

...is that X86 no longer uses multi-byte NOPs, though that doesn't seem desirable to begin with.

Fixes https://github.com/llvm/llvm-project/issues/60672


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143802

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

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


More information about the llvm-commits mailing list