refactor dwarf_handler

This commit is contained in:
2020-02-03 17:55:33 +04:00
parent ac408ab21a
commit 70e39e14a9
9 changed files with 22 additions and 30 deletions
+1 -1
View File
@@ -39,8 +39,8 @@ typedef struct __pst_function {
bool allocated; // whether this object was allocated or not
} pst_function;
void pst_function_init(pst_function* fn, pst_context* _ctx, __pst_function* _parent);
void pst_function_fini(pst_function* fn);
pst_function* pst_function_new(pst_context* _ctx, __pst_function* _parent);
void pst_function_fini(pst_function* fn);
bool pst_function_unwind(pst_function* fn, Dwarf_Addr addr);
bool pst_function_handle_dwarf(pst_function * fn, Dwarf_Die* d);