summaryrefslogtreecommitdiff
path: root/lib/xray/xray_interface_internal.h
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2016-12-19 03:21:26 +0000
committerDean Michael Berris <dberris@google.com>2016-12-19 03:21:26 +0000
commit15ff979902c3ef8f2872f2d3967712897d8abb11 (patch)
tree7b43b93a635de774f433f72b9deedbfec8d12a52 /lib/xray/xray_interface_internal.h
parent140ee892452f4dc56ed45596fc605a20f9c71260 (diff)
[XRay] [compiler-rt] Move machine-dependent code into machine-dependent files.
Summary: Include the necessary headers while there. Reviewers: dberris Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25360 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@290077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/xray/xray_interface_internal.h')
-rw-r--r--lib/xray/xray_interface_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xray/xray_interface_internal.h b/lib/xray/xray_interface_internal.h
index c4f72433d..a8434a699 100644
--- a/lib/xray/xray_interface_internal.h
+++ b/lib/xray/xray_interface_internal.h
@@ -48,6 +48,8 @@ struct XRaySledMap {
size_t Entries;
};
+uint64_t cycleFrequency();
+
bool patchFunctionEntry(bool Enable, uint32_t FuncId,
const XRaySledEntry &Sled);
bool patchFunctionExit(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);