[PATCH] D23154: [compiler-rt][XRay] Implement __xray_unpatch()

Dean Michael Berris via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 00:42:05 PDT 2016


dberris created this revision.
dberris added reviewers: rSerge, echristo, rnk.
dberris added a subscriber: llvm-commits.
dberris added a dependency: D23101: [XRay] Align entry and return sleds to 2 byte boundaries.
Herald added subscribers: mehdi_amini, srhines, danalbert, tberghammer.

We also add one test (and the XRay testing infrastructure) to exercise
the patching and unpatching code. This uses the XRay API exported
through the headers as well, installing a custom log handler.

Depends on D23101 for the updated emitted code alignment for the
return/entry sleds.

https://reviews.llvm.org/D23154

Files:
  lib/xray/xray_interface.cc
  test/CMakeLists.txt
  test/xray/CMakeLists.txt
  test/xray/TestCases/Linux/patching-unpatching.cc
  test/xray/lit.cfg
  test/xray/lit.site.cfg.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23154.66767.patch
Type: text/x-patch
Size: 8478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160804/c90c356a/attachment.bin>


More information about the llvm-commits mailing list