[PATCH] D30018: [XRay] Add __xray_customeevent(...) as a clang-supported builtin

Dean Michael Berris via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 8 00:17:35 PDT 2017


dberris added inline comments.


================
Comment at: lib/Headers/xrayintrin.h:28
+extern "C" {
+inline void __xray_customevent(const char*, size_t) {
+  // Does nothing by design. The intent is the compiler's back-end will handle
----------------
rnk wrote:
> I don't think you need this header. Also, the extern "C" would have to be guarded on __cplusplus.
Reverted the file.


https://reviews.llvm.org/D30018





More information about the cfe-commits mailing list