[PATCH] D45749: [XRay][compiler-rt] Add noop patch functions for unsupported arches.
Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 17 16:22:43 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330231: [XRay][compiler-rt] Add noop patch functions for unsupported arches. (authored by kpw, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D45749
Files:
compiler-rt/trunk/lib/xray/xray_AArch64.cc
compiler-rt/trunk/lib/xray/xray_arm.cc
compiler-rt/trunk/lib/xray/xray_mips.cc
compiler-rt/trunk/lib/xray/xray_mips64.cc
compiler-rt/trunk/lib/xray/xray_powerpc64.cc
Index: compiler-rt/trunk/lib/xray/xray_AArch64.cc
===================================================================
--- compiler-rt/trunk/lib/xray/xray_AArch64.cc
+++ compiler-rt/trunk/lib/xray/xray_AArch64.cc
@@ -112,6 +112,12 @@
return false;
}
+bool patchTypedEvent(const bool Enable, const uint32_t FuncId,
+ const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
+ // FIXME: Implement in aarch64?
+ return false;
+}
+
// FIXME: Maybe implement this better?
bool probeRequiredCPUFeatures() XRAY_NEVER_INSTRUMENT { return true; }
Index: compiler-rt/trunk/lib/xray/xray_arm.cc
===================================================================
--- compiler-rt/trunk/lib/xray/xray_arm.cc
+++ compiler-rt/trunk/lib/xray/xray_arm.cc
@@ -149,6 +149,12 @@
return false;
}
+bool patchTypedEvent(const bool Enable, const uint32_t FuncId,
+ const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
+ // FIXME: Implement in arm?
+ return false;
+}
+
// FIXME: Maybe implement this better?
bool probeRequiredCPUFeatures() XRAY_NEVER_INSTRUMENT { return true; }
Index: compiler-rt/trunk/lib/xray/xray_mips.cc
===================================================================
--- compiler-rt/trunk/lib/xray/xray_mips.cc
+++ compiler-rt/trunk/lib/xray/xray_mips.cc
@@ -158,6 +158,12 @@
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 {
Index: compiler-rt/trunk/lib/xray/xray_powerpc64.cc
===================================================================
--- compiler-rt/trunk/lib/xray/xray_powerpc64.cc
+++ compiler-rt/trunk/lib/xray/xray_powerpc64.cc
@@ -99,6 +99,12 @@
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 {
Index: compiler-rt/trunk/lib/xray/xray_mips64.cc
===================================================================
--- compiler-rt/trunk/lib/xray/xray_mips64.cc
+++ compiler-rt/trunk/lib/xray/xray_mips64.cc
@@ -166,6 +166,12 @@
// FIXME: Implement in mips64?
return false;
}
+
+bool patchTypedEvent(const bool Enable, const uint32_t FuncId,
+ const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
+ // FIXME: Implement in mips64?
+ return false;
+}
} // namespace __xray
extern "C" void __xray_ArgLoggerEntry() XRAY_NEVER_INSTRUMENT {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45749.142863.patch
Type: text/x-patch
Size: 2749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180417/0cb858ad/attachment-0001.bin>
More information about the llvm-commits
mailing list