mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
9007943839
* Create the CodeGenerator class from most of the logic that was in the Translate function. * Extract debug information handling logic from the Translate function and move it into the DebugManager class. * Add include guards. * Remove some dead code and add and fix documentation.
20 lines
456 B
C++
20 lines
456 B
C++
#ifndef _PTCINTERFACE_H
|
|
#define _PTCINTERFACE_H
|
|
|
|
#include <memory>
|
|
|
|
#include "revamb.h"
|
|
#define USE_DYNAMIC_PTC
|
|
#include "ptc.h"
|
|
|
|
|
|
using PTCInstructionListDestructor =
|
|
GenericFunctor<decltype(&ptc_instruction_list_free),
|
|
&ptc_instruction_list_free>;
|
|
using PTCInstructionListPtr = std::unique_ptr<PTCInstructionList,
|
|
PTCInstructionListDestructor>;
|
|
|
|
extern PTC ptc;
|
|
|
|
#endif // _PTCINTERFACE_H
|