diff options
author | Dean Michael Berris <dberris@google.com> | 2016-12-19 03:21:26 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-12-19 03:21:26 +0000 |
commit | 094173ba2cd8d349cd0c5fe8f1832f23577ae752 (patch) | |
tree | ca0f4d04539abb502b9beb8a3ee766781536496a /compiler-rt/lib/xray/xray_interface_internal.h | |
parent | 8f687f71fb03147db3f752f55465bd7ac639fb8c (diff) | |
download | bcm5719-llvm-094173ba2cd8d349cd0c5fe8f1832f23577ae752.tar.gz bcm5719-llvm-094173ba2cd8d349cd0c5fe8f1832f23577ae752.zip |
[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
llvm-svn: 290077
Diffstat (limited to 'compiler-rt/lib/xray/xray_interface_internal.h')
-rw-r--r-- | compiler-rt/lib/xray/xray_interface_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/xray/xray_interface_internal.h b/compiler-rt/lib/xray/xray_interface_internal.h index c4f72433d17..a8434a699f8 100644 --- a/compiler-rt/lib/xray/xray_interface_internal.h +++ b/compiler-rt/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); |