diff options
| author | Dean Michael Berris <dberris@google.com> | 2016-07-20 14:14:50 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2016-07-20 14:14:50 +0000 |
| commit | e1c81d10d7710dba89ddda236f566dbcb74fa799 (patch) | |
| tree | 4aeec5f50e6deaa880c8660ac47ed3469f7ec6f3 /llvm/lib/Support/Threading.cpp | |
| parent | 080dcf7aa818a5432490d1b8149ccc4e2c0a6333 (diff) | |
| download | llvm-e1c81d10d7710dba89ddda236f566dbcb74fa799.zip llvm-e1c81d10d7710dba89ddda236f566dbcb74fa799.tar.gz llvm-e1c81d10d7710dba89ddda236f566dbcb74fa799.tar.bz2 | |
[compiler-rt] [XRay] Basic initialization and flag definition for XRay runtime
Summary:
This patch implements the initialisation and patching routines for the XRay runtime, along with the necessary trampolines for function entry/exit handling. For now we only define the basic hooks for allowing an implementation to define a handler that gets run on function entry/exit. We expose a minimal API for controlling the behaviour of the runtime (patching, cleanup, and setting the handler to invoke when instrumenting).
Depends on D19904
Reviewers: echristo, kcc, rnk
Subscribers: rnk, mehdi_amini, llvm-commits
Differential Revision: https://reviews.llvm.org/D21612
llvm-svn: 276117
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions
