clang 22.0.0git
XRayInstr.h File Reference

Defines the clang::XRayInstrKind enum. More...

#include "clang/Basic/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/MathExtras.h"
#include <cassert>
#include <cstdint>

Go to the source code of this file.

Classes

struct  clang::XRayInstrSet

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::XRayInstrKind

Typedefs

using clang::XRayInstrMask = uint32_t

Enumerations

enum  clang::XRayInstrKind::XRayInstrOrdinal : XRayInstrMask {
  clang::XRayInstrKind::XRIO_FunctionEntry , clang::XRayInstrKind::XRIO_FunctionExit , clang::XRayInstrKind::XRIO_Custom , clang::XRayInstrKind::XRIO_Typed ,
  clang::XRayInstrKind::XRIO_Count
}

Functions

XRayInstrMask clang::parseXRayInstrValue (StringRef Value)
 Parses a command line argument into a mask.
void clang::serializeXRayInstrValue (XRayInstrSet Set, SmallVectorImpl< StringRef > &Values)
 Serializes a set into a list of command line arguments.

Variables

constexpr XRayInstrMask clang::XRayInstrKind::None = 0
constexpr XRayInstrMask clang::XRayInstrKind::FunctionEntry = 1U << XRIO_FunctionEntry
constexpr XRayInstrMask clang::XRayInstrKind::FunctionExit = 1U << XRIO_FunctionExit
constexpr XRayInstrMask clang::XRayInstrKind::Custom = 1U << XRIO_Custom
constexpr XRayInstrMask clang::XRayInstrKind::Typed = 1U << XRIO_Typed
constexpr XRayInstrMask clang::XRayInstrKind::All = FunctionEntry | FunctionExit | Custom | Typed

Detailed Description

Defines the clang::XRayInstrKind enum.

Definition in file XRayInstr.h.