diff options
author | Keith Wyss <wyssman@gmail.com> | 2018-04-17 23:19:23 +0000 |
---|---|---|
committer | Keith Wyss <wyssman@gmail.com> | 2018-04-17 23:19:23 +0000 |
commit | 4c0639277d03e91ce34f0dfa90215f63f5655051 (patch) | |
tree | e93738e35eb69962d4d6687622601260e8d8a959 /lib/xray/xray_powerpc64.cc | |
parent | 78748153745b09b8a547f1692ed0873d317dc6e4 (diff) |
[XRay][compiler-rt] Add noop patch functions for unsupported arches.
Summary:
Typed event patching is implemented for x86-64, but functions must
be defined for other arches.
Reviewers: dberris, pelikan
Subscribers: nemanjai, javed.absar, delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D45749
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@330231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/xray/xray_powerpc64.cc')
-rw-r--r-- | lib/xray/xray_powerpc64.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xray/xray_powerpc64.cc b/lib/xray/xray_powerpc64.cc index ab03cb100..5e4938361 100644 --- a/lib/xray/xray_powerpc64.cc +++ b/lib/xray/xray_powerpc64.cc @@ -99,6 +99,12 @@ bool patchCustomEvent(const bool Enable, const uint32_t FuncId, return false; } +bool patchTypedEvent(const bool Enable, const uint32_t FuncId, + const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { + // FIXME: Implement in powerpc64? + return false; +} + } // namespace __xray extern "C" void __xray_ArgLoggerEntry() XRAY_NEVER_INSTRUMENT { |