diff options
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/HistoryUnwind.h')
| -rw-r--r-- | lldb/source/Plugins/Process/Utility/HistoryUnwind.h | 12 | 
1 files changed, 8 insertions, 4 deletions
| diff --git a/lldb/source/Plugins/Process/Utility/HistoryUnwind.h b/lldb/source/Plugins/Process/Utility/HistoryUnwind.h index 4d16608bd8c2..cb72b5d0a176 100644 --- a/lldb/source/Plugins/Process/Utility/HistoryUnwind.h +++ b/lldb/source/Plugins/Process/Utility/HistoryUnwind.h @@ -6,8 +6,8 @@  //  //===----------------------------------------------------------------------===// -#ifndef liblldb_HistoryUnwind_h_ -#define liblldb_HistoryUnwind_h_ +#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_HISTORYUNWIND_H +#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_HISTORYUNWIND_H  #include <vector> @@ -18,7 +18,8 @@ namespace lldb_private {  class HistoryUnwind : public lldb_private::Unwind {  public: -  HistoryUnwind(Thread &thread, std::vector<lldb::addr_t> pcs); +  HistoryUnwind(Thread &thread, std::vector<lldb::addr_t> pcs, +                bool pcs_are_call_addresses = false);    ~HistoryUnwind() override; @@ -35,8 +36,11 @@ protected:  private:    std::vector<lldb::addr_t> m_pcs; +  /// This boolean indicates that the PCs in the non-0 frames are call +  /// addresses and not return addresses. +  bool m_pcs_are_call_addresses;  };  } // namespace lldb_private -#endif // liblldb_HistoryUnwind_h_ +#endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_HISTORYUNWIND_H | 
