2020-07-26 15:36:28 -04:00
|
|
|
//===-- NativeThreadProtocol.cpp ------------------------------------------===//
|
2014-11-25 16:00:58 -05:00
|
|
|
//
|
2019-08-20 16:51:52 -04: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-11-25 16:00:58 -05:00
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
2015-02-08 20:44:09 -05:00
|
|
|
#include "lldb/Host/common/NativeThreadProtocol.h"
|
2014-11-25 16:00:58 -05:00
|
|
|
|
2015-02-08 20:44:09 -05:00
|
|
|
#include "lldb/Host/common/NativeProcessProtocol.h"
|
|
|
|
|
#include "lldb/Host/common/NativeRegisterContext.h"
|
2014-11-25 16:00:58 -05:00
|
|
|
|
|
|
|
|
using namespace lldb;
|
|
|
|
|
using namespace lldb_private;
|
|
|
|
|
|
2017-07-19 03:03:07 -04:00
|
|
|
NativeThreadProtocol::NativeThreadProtocol(NativeProcessProtocol &process,
|
2017-01-02 14:26:05 -05:00
|
|
|
lldb::tid_t tid)
|
2017-07-19 03:03:07 -04:00
|
|
|
: m_process(process), m_tid(tid) {}
|