]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/xray/xray_defs.h
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303571, and update
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / xray / xray_defs.h
1 //===-- xray_defs.h ---------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Common definitions useful for XRay sources.
11 //
12 //===----------------------------------------------------------------------===//
13 #ifndef XRAY_XRAY_DEFS_H
14 #define XRAY_XRAY_DEFS_H
15
16 #if XRAY_SUPPORTED
17 #define XRAY_NEVER_INSTRUMENT __attribute__((xray_never_instrument))
18 #else
19 #define XRAY_NEVER_INSTRUMENT
20 #endif
21
22 #endif  // XRAY_XRAY_DEFS_H