2020-01-16 16:38:04 +00:00
|
|
|
//===-- xray_defs.h ---------------------------------------------*- C++ -*-===//
|
2019-04-12 14:10:50 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2020-01-16 16:38:04 +00:00
|
|
|
// Common definitions useful for XRay sources.
|
2019-04-12 14:10:50 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
2020-01-16 16:38:04 +00:00
|
|
|
#ifndef XRAY_XRAY_DEFS_H
|
|
|
|
#define XRAY_XRAY_DEFS_H
|
2019-04-12 14:10:50 +00:00
|
|
|
|
2020-01-16 16:38:04 +00:00
|
|
|
#if XRAY_SUPPORTED
|
|
|
|
#define XRAY_NEVER_INSTRUMENT __attribute__((xray_never_instrument))
|
|
|
|
#else
|
|
|
|
#define XRAY_NEVER_INSTRUMENT
|
2019-04-12 14:10:50 +00:00
|
|
|
#endif
|
2020-01-16 16:38:04 +00:00
|
|
|
|
|
|
|
#endif // XRAY_XRAY_DEFS_H
|