[PATCH] D26597: [XRay][compiler-rt] Disable XRay instrumentation of the XRay runtime.
Serge Rogatch via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 10:25:17 PST 2016
rSerge added inline comments.
================
Comment at: lib/xray/xray_defs.h:16
+
+#ifndef XRAY_SUPPORTED
+#define XRAY_NEVER_INSTRUMENT
----------------
I prefer to avoid double negation because it's harder to read. Can you change this to `ifdef` and swap the bodies?
https://reviews.llvm.org/D26597
More information about the llvm-commits
mailing list