summaryrefslogtreecommitdiff
path: root/lib/xray/xray_mips.cc
diff options
context:
space:
mode:
authorKeith Wyss <wyssman@gmail.com>2018-04-17 23:19:23 +0000
committerKeith Wyss <wyssman@gmail.com>2018-04-17 23:19:23 +0000
commit4c0639277d03e91ce34f0dfa90215f63f5655051 (patch)
treee93738e35eb69962d4d6687622601260e8d8a959 /lib/xray/xray_mips.cc
parent78748153745b09b8a547f1692ed0873d317dc6e4 (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_mips.cc')
-rw-r--r--lib/xray/xray_mips.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xray/xray_mips.cc b/lib/xray/xray_mips.cc
index cd863304d..6f8243828 100644
--- a/lib/xray/xray_mips.cc
+++ b/lib/xray/xray_mips.cc
@@ -158,6 +158,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 mips?
+ return false;
+}
+
} // namespace __xray
extern "C" void __xray_ArgLoggerEntry() XRAY_NEVER_INSTRUMENT {