22 virtual void line(
int lineNum) = 0;
23 virtual void var(
int slot, int32_t val) = 0;
24 virtual void enter(
int fnIdx) = 0;
25 virtual void exit(
int fnIdx) = 0;
31 static std::unique_ptr<Tracer>
Make(std::vector<TraceInfo>* traceInfo);
33 void line(
int lineNum)
override;
34 void var(
int slot, int32_t val)
override;
35 void enter(
int fnIdx)
override;
36 void exit(
int fnIdx)
override;
40 std::vector<TraceInfo>* fTraceInfo;
virtual void var(int slot, int32_t val)=0
virtual void scope(int delta)=0
virtual void enter(int fnIdx)=0
virtual ~TraceHook()=default
virtual void exit(int fnIdx)=0
virtual void line(int lineNum)=0
void exit(int fnIdx) override
void var(int slot, int32_t val) override
void enter(int fnIdx) override
void scope(int delta) override
static std::unique_ptr< Tracer > Make(std::vector< TraceInfo > *traceInfo)
void line(int lineNum) override