Add header guards to tracerv code
This commit is contained in:
parent
157bd9facb
commit
9087a0671c
|
@ -1,3 +1,6 @@
|
|||
#ifndef __TRACE_TRACKER_H
|
||||
#define __TRACE_TRACKER_H
|
||||
|
||||
#include "tracerv_processing.h"
|
||||
|
||||
//#define INDENT_SPACES
|
||||
|
@ -58,3 +61,5 @@ public:
|
|||
TraceTracker(std::string binary_with_dwarf, FILE *tracefile);
|
||||
void addInstruction(uint64_t inst_addr, uint64_t cycle);
|
||||
};
|
||||
|
||||
#endif // __TRACE_TRACKER_H
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef TRACERV_PROCESSING_GUARD
|
||||
#define TRACERV_PROCESSING_GUARD
|
||||
#ifndef __TRACERV_PROCESSING_H
|
||||
#define __TRACERV_PROCESSING_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <string>
|
||||
|
@ -43,4 +43,4 @@ public:
|
|||
Instr *getInstrFromAddr(uint64_t lookupaddress);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // __TRACERV_PROCESSING_H
|
||||
|
|
Loading…
Reference in New Issue