implemented base support of DWARF lexical block and call site

This commit is contained in:
2020-01-17 09:44:59 +04:00
parent e215c6af76
commit dcfbcd0952
2 changed files with 154 additions and 77 deletions
+2
View File
@@ -104,6 +104,8 @@ typedef struct __pst_function : public SC_ListNode {
bool unwind(Dwfl* dwfl, Dwfl_Module* module, Dwarf_Addr addr);
bool handle_dwarf(Dwarf_Die* d);
bool print_dwarf();
bool handle_lexical_block(Dwarf_Die* result);
bool handle_call_site(Dwarf_Die* result);
Dwarf_Addr lowpc; // start of the function
Dwarf_Addr highpc; // next address after the end of the function