summaryrefslogtreecommitdiff
path: root/lib/xray/xray_mips64.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xray/xray_mips64.cc')
-rw-r--r--lib/xray/xray_mips64.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/xray/xray_mips64.cc b/lib/xray/xray_mips64.cc
index a2c8b5e7d..21136848c 100644
--- a/lib/xray/xray_mips64.cc
+++ b/lib/xray/xray_mips64.cc
@@ -143,8 +143,9 @@ inline static bool patchSled(const bool Enable, const uint32_t FuncId,
}
bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
- const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
- return patchSled(Enable, FuncId, Sled, __xray_FunctionEntry);
+ const XRaySledEntry &Sled,
+ void (*Trampoline)()) XRAY_NEVER_INSTRUMENT {
+ return patchSled(Enable, FuncId, Sled, Trampoline);
}
bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
@@ -160,3 +161,7 @@ bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
}
} // namespace __xray
+
+extern "C" void __xray_ArgLoggerEntry() XRAY_NEVER_INSTRUMENT {
+ // FIXME: this will have to be implemented in the trampoline assembly file
+}