1 //===-- HistoryUnwind.h -----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_HistoryUnwind_h_
11 #define liblldb_HistoryUnwind_h_
15 #include "lldb/lldb-private.h"
16 #include "lldb/Host/Mutex.h"
17 #include "lldb/Target/Unwind.h"
19 namespace lldb_private {
21 class HistoryUnwind : public lldb_private::Unwind
24 HistoryUnwind (Thread &thread, std::vector<lldb::addr_t> pcs, uint32_t stop_id, bool stop_id_is_valid);
26 virtual ~HistoryUnwind ();
32 lldb::RegisterContextSP
33 DoCreateRegisterContextForFrame (StackFrame *frame);
36 DoGetFrameInfoAtIndex (uint32_t frame_idx,
44 std::vector<lldb::addr_t> m_pcs;
46 bool m_stop_id_is_valid;
49 } // namespace lldb_private
51 #endif // liblldb_HistoryUnwind_h_