Path: blob/main/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ThreadMinidump.h
39645 views
//===-- ThreadMinidump.h ---------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLDB_SOURCE_PLUGINS_PROCESS_MINIDUMP_THREADMINIDUMP_H9#define LLDB_SOURCE_PLUGINS_PROCESS_MINIDUMP_THREADMINIDUMP_H1011#include "MinidumpTypes.h"1213#include "lldb/Target/Thread.h"141516namespace lldb_private {1718namespace minidump {1920class ThreadMinidump : public Thread {21public:22ThreadMinidump(Process &process, const minidump::Thread &td,23llvm::ArrayRef<uint8_t> gpregset_data);2425~ThreadMinidump() override;2627void RefreshStateAfterStop() override;2829lldb::RegisterContextSP GetRegisterContext() override;3031lldb::RegisterContextSP32CreateRegisterContextForFrame(StackFrame *frame) override;3334protected:35lldb::RegisterContextSP m_thread_reg_ctx_sp;36llvm::ArrayRef<uint8_t> m_gpregset_data;3738bool CalculateStopInfo() override;39};4041} // namespace minidump42} // namespace lldb_private4344#endif // LLDB_SOURCE_PLUGINS_PROCESS_MINIDUMP_THREADMINIDUMP_H454647