forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxray-sleds.h
32 lines (26 loc) · 873 Bytes
/
xray-sleds.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//===- xray-sleds.h - XRay Sleds Data Structure ---------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// Defines the structure used to represent XRay instrumentation map entries.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TOOLS_LLVM_XRAY_XRAY_SLEDS_H
#define LLVM_TOOLS_LLVM_XRAY_XRAY_SLEDS_H
namespace llvm {
namespace xray {
struct SledEntry {
enum class FunctionKinds { ENTRY, EXIT, TAIL };
uint64_t Address;
uint64_t Function;
FunctionKinds Kind;
bool AlwaysInstrument;
};
} // namespace xray
} // namespace llvm
#endif // LLVM_TOOLS_LLVM_XRAY_XRAY_SLEDS_H