#include "lldb/Target/UnwindLLDB.h"
#include "lldb/Core/Module.h"
#include "lldb/Symbol/FuncUnwinders.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Symbol/UnwindPlan.h"
#include "lldb/Target/ABI.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/RegisterContextUnwind.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
usingnamespacelldb;
usingnamespacelldb_private;
UnwindLLDB::UnwindLLDB(Thread &thread)
: … { … }
uint32_t UnwindLLDB::DoGetFrameCount() { … }
bool UnwindLLDB::AddFirstFrame() { … }
UnwindLLDB::CursorSP UnwindLLDB::GetOneMoreFrame(ABI *abi) { … }
void UnwindLLDB::UpdateUnwindPlanForFirstFrameIfInvalid(ABI *abi) { … }
bool UnwindLLDB::AddOneMoreFrame(ABI *abi) { … }
bool UnwindLLDB::DoGetFrameInfoAtIndex(uint32_t idx, addr_t &cfa, addr_t &pc,
bool &behaves_like_zeroth_frame) { … }
lldb::RegisterContextSP
UnwindLLDB::DoCreateRegisterContextForFrame(StackFrame *frame) { … }
UnwindLLDB::RegisterContextLLDBSP
UnwindLLDB::GetRegisterContextForFrameNum(uint32_t frame_num) { … }
bool UnwindLLDB::SearchForSavedLocationForRegister(
uint32_t lldb_regnum, lldb_private::UnwindLLDB::RegisterLocation ®loc,
uint32_t starting_frame_num, bool pc_reg) { … }