Move _fde_func_t typedef to shared .h
This commit is contained in:
parent
69e6c10c36
commit
da38a9d521
|
@ -3,3 +3,5 @@
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uintptr_t rip, rsp, rbp;
|
uintptr_t rip, rsp, rbp;
|
||||||
} unwind_context_t;
|
} unwind_context_t;
|
||||||
|
|
||||||
|
typedef unwind_context_t (*_fde_func_t)(unwind_context_t, uintptr_t);
|
||||||
|
|
|
@ -4,10 +4,8 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
static const char* PRELUDE =
|
static const char* PRELUDE =
|
||||||
"#include <stdint.h>\n"
|
|
||||||
"#include <assert.h>\n"
|
"#include <assert.h>\n"
|
||||||
"\n"
|
"\n"
|
||||||
"typedef unwind_context_t (*_fde_func_t)(unwind_context_t, uintptr_t);\n"
|
|
||||||
;
|
;
|
||||||
|
|
||||||
CodeGenerator::CodeGenerator(
|
CodeGenerator::CodeGenerator(
|
||||||
|
|
Loading…
Reference in a new issue