diff options
Diffstat (limited to 'include/lldb/Symbol/FuncUnwinders.h')
-rw-r--r-- | include/lldb/Symbol/FuncUnwinders.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/lldb/Symbol/FuncUnwinders.h b/include/lldb/Symbol/FuncUnwinders.h index 7af0634022899..0cf584239f957 100644 --- a/include/lldb/Symbol/FuncUnwinders.h +++ b/include/lldb/Symbol/FuncUnwinders.h @@ -21,7 +21,7 @@ public: // This is often sourced from the eh_frame exception handling info // 2. Unwinding from a non-call site (any location in the function) // This is often done by analyzing the function prologue assembly - // langauge instructions + // language instructions // 3. A fast unwind method for this function which only retrieves a // limited set of registers necessary to walk the stack // 4. An architectural default unwind plan when none of the above are @@ -31,7 +31,7 @@ public: // instructions are finished for migrating breakpoints past the // stack frame setup instructions when we don't have line table information. - FuncUnwinders (lldb_private::UnwindTable& unwind_table, const lldb::UnwindAssemblySP& assembly_profiler, AddressRange range); + FuncUnwinders (lldb_private::UnwindTable& unwind_table, AddressRange range); ~FuncUnwinders (); @@ -44,7 +44,7 @@ public: GetUnwindPlanAtCallSite (int current_offset); lldb::UnwindPlanSP - GetUnwindPlanAtNonCallSite (lldb_private::Thread& thread); + GetUnwindPlanAtNonCallSite (Target& target, lldb_private::Thread& thread, int current_offset); lldb::UnwindPlanSP GetUnwindPlanFastUnwind (lldb_private::Thread& Thread); @@ -76,8 +76,11 @@ public: InvalidateNonCallSiteUnwindPlan (lldb_private::Thread& Thread); private: + + lldb::UnwindAssemblySP + GetUnwindAssemblyProfiler (); + UnwindTable& m_unwind_table; - lldb::UnwindAssemblySP m_assembly_profiler; AddressRange m_range; Mutex m_mutex; |