LLVM: include/llvm/DebugInfo/GSYM/CallSiteInfo.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9#ifndef LLVM_DEBUGINFO_GSYM_CALLSITEINFO_H
10#define LLVM_DEBUGINFO_GSYM_CALLSITEINFO_H
11
17#include
18
19namespace llvm {
22
23namespace yaml {
25}
26
43
44
46
47
49
50
52
53
58
59
61
62
63
64
65
66
69
70
71
72
73
75};
76
79
80
81
82
83
86
87
88
89
90
92};
93
95public:
96
97
98
99
101 : GCreator(GCreator), Funcs(Funcs) {}
102
103
104
105
106
107
108
109
110
111
113
114private:
115
116
117
118
119
120
122
123
124
125
126
127
128
129
130
133
134
136
137
138 std::vector &Funcs;
139};
140
143 const CallSiteInfoCollection &CSIC);
144
145}
146}
147
148#endif
StringSet - A set-like wrapper for the StringMap.
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
StringRef - Represent a constant reference to a string, i.e.
LLVM_ABI llvm::Error loadYAML(StringRef YAMLFile)
This method reads the specified YAML file, parses its content, and updates the Funcs vector with call...
CallSiteInfoLoader(GsymCreator &GCreator, std::vector< FunctionInfo > &Funcs)
Constructor that initializes the CallSiteInfoLoader with necessary data structures.
Definition CallSiteInfo.h:100
A simplified binary data writer class that doesn't require targets, target definitions,...
GsymCreator is used to emit GSYM data to a stand alone file or section within a file.
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition CallSiteInfo.h:27
LLVM_ABI raw_ostream & operator<<(raw_ostream &OS, const CallSiteInfo &CSI)
This is an optimization pass for GlobalISel generic memory operations.
FunctionAddr VTableAddr uintptr_t uintptr_t Data
Definition CallSiteInfo.h:77
LLVM_ABI llvm::Error encode(FileWriter &O) const
Encode this CallSiteInfoCollection object into a FileWriter stream.
std::vector< CallSiteInfo > CallSites
Definition CallSiteInfo.h:78
static LLVM_ABI llvm::Expected< CallSiteInfoCollection > decode(DataExtractor &Data)
Decode a CallSiteInfoCollection object from a binary data stream.
Definition CallSiteInfo.h:31
LLVM_ABI llvm::Error encode(FileWriter &O) const
Encode this CallSiteInfo object into a FileWriter stream.
std::vector< uint32_t > MatchRegex
Offsets into the string table for function names regex patterns.
Definition CallSiteInfo.h:48
uint64_t ReturnOffset
The return offset of the call site - relative to the function start.
Definition CallSiteInfo.h:45
bool operator!=(const CallSiteInfo &RHS) const
Inequality comparison operator for CallSiteInfo.
Definition CallSiteInfo.h:60
static LLVM_ABI llvm::Expected< CallSiteInfo > decode(DataExtractor &Data, uint64_t &Offset)
Decode a CallSiteInfo object from a binary data stream.
bool operator==(const CallSiteInfo &RHS) const
Equality comparison operator for CallSiteInfo.
Definition CallSiteInfo.h:54
Flags
Definition CallSiteInfo.h:32
@ LLVM_MARK_AS_BITMASK_ENUM
Definition CallSiteInfo.h:41
@ None
Definition CallSiteInfo.h:33
@ InternalCall
Definition CallSiteInfo.h:36
@ ExternalCall
Definition CallSiteInfo.h:39
Function information in GSYM files encodes information for one contiguous address range.