@@ -103,10 +103,7 @@ class LLVMFunctionEvent : public LLVMStepEvent {
103
103
std::vector<LLVMEvent> arguments;
104
104
105
105
LLVMFunctionEvent (
106
- std::string const &_name, std::string const &_relativePosition)
107
- : name(_name)
108
- , relativePosition(_relativePosition)
109
- , arguments() { }
106
+ std::string const &_name, std::string const &_relativePosition);
110
107
111
108
public:
112
109
static sptr<LLVMFunctionEvent>
@@ -117,9 +114,9 @@ class LLVMFunctionEvent : public LLVMStepEvent {
117
114
118
115
std::string const &getName () const { return name; }
119
116
std::string const &getRelativePosition () const { return relativePosition; }
120
- std::vector<LLVMEvent> const &getArguments () const { return arguments; }
117
+ std::vector<LLVMEvent> const &getArguments () const ;
121
118
122
- void addArgument (LLVMEvent const &argument) { arguments. push_back (argument); }
119
+ void addArgument (LLVMEvent const &argument);
123
120
124
121
virtual void print (std::ostream &Out, unsigned indent = 0u ) const override ;
125
122
};
@@ -132,12 +129,7 @@ class LLVMHookEvent : public LLVMStepEvent {
132
129
sptr<KOREPattern> korePattern;
133
130
uint64_t patternLength;
134
131
135
- LLVMHookEvent (std::string const &_name, std::string const &_relativePosition)
136
- : name(_name)
137
- , relativePosition(_relativePosition)
138
- , arguments()
139
- , korePattern(nullptr )
140
- , patternLength(0u ) { }
132
+ LLVMHookEvent (std::string const &_name, std::string const &_relativePosition);
141
133
142
134
public:
143
135
static sptr<LLVMHookEvent>
@@ -155,7 +147,7 @@ class LLVMHookEvent : public LLVMStepEvent {
155
147
patternLength = _patternLength;
156
148
}
157
149
158
- void addArgument (LLVMEvent const &argument) { arguments. push_back (argument); }
150
+ void addArgument (LLVMEvent const &argument);
159
151
160
152
virtual void print (std::ostream &Out, unsigned indent = 0u ) const override ;
161
153
};
0 commit comments