[PATCH] D32695: [XRay][compiler-rt] Support patching/unpatching specific functions

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 01:15:23 PDT 2017


dberris created this revision.

This change allows us to patch/unpatch specific functions using the
function ID. This is useful in cases where implementations might want to
do coverage-style, or more fine-grained control of which functions to
patch or un-patch at runtime.

Depends on https://reviews.llvm.org/D32693.


https://reviews.llvm.org/D32695

Files:
  include/xray/xray_interface.h
  lib/xray/xray_init.cc
  lib/xray/xray_interface.cc
  lib/xray/xray_interface_internal.h
  test/xray/TestCases/Linux/coverage-sample.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32695.97269.patch
Type: text/x-patch
Size: 9974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170501/ea90c6c9/attachment.bin>


More information about the llvm-commits mailing list