2020-01-24 08:23:27 +01:00
|
|
|
//===-- NativeThreadProtocol.cpp ------------------------------------------===//
|
2014-06-30 21:05:18 +00:00
|
|
|
//
|
2019-01-19 08:50:56 +00:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-06-30 21:05:18 +00:00
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
2015-02-03 01:51:38 +00:00
|
|
|
#include "lldb/Host/common/NativeThreadProtocol.h"
|
2014-06-30 21:05:18 +00:00
|
|
|
|
2015-02-03 01:51:38 +00:00
|
|
|
#include "lldb/Host/common/NativeProcessProtocol.h"
|
|
|
|
|
#include "lldb/Host/common/NativeRegisterContext.h"
|
2014-06-30 21:05:18 +00:00
|
|
|
|
|
|
|
|
using namespace lldb;
|
|
|
|
|
using namespace lldb_private;
|
|
|
|
|
|
2017-07-18 09:24:48 +00:00
|
|
|
NativeThreadProtocol::NativeThreadProtocol(NativeProcessProtocol &process,
|
2014-06-30 21:05:18 +00:00
|
|
|
lldb::tid_t tid)
|
2017-07-18 09:24:48 +00:00
|
|
|
: m_process(process), m_tid(tid) {}
|