]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/llvm-xray/xray-sleds.h
Update lldb to trunk r290819 and resolve conflicts.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / llvm-xray / xray-sleds.h
1 //===- xray-sleds.h - XRay Sleds Data Structure ---------------------------===//
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 // Defines the structure used to represent XRay instrumentation map entries.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_TOOLS_LLVM_XRAY_XRAY_SLEDS_H
15 #define LLVM_TOOLS_LLVM_XRAY_XRAY_SLEDS_H
16
17 namespace llvm {
18 namespace xray {
19
20 struct SledEntry {
21   enum class FunctionKinds { ENTRY, EXIT, TAIL };
22
23   uint64_t Address;
24   uint64_t Function;
25   FunctionKinds Kind;
26   bool AlwaysInstrument;
27 };
28
29 } // namespace xray
30 } // namespace llvm
31
32 #endif // LLVM_TOOLS_LLVM_XRAY_XRAY_SLEDS_H