LLDB mainline
ModuleChild.cpp
Go to the documentation of this file.
1//===-- ModuleChild.cpp ---------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
10#include <cassert>
11
12using namespace lldb_private;
13
15 : m_module_wp(module_sp) {}
16
18
20 if (this != &rhs)
22 return *this;
23}
24
const ModuleChild & operator=(const ModuleChild &rhs)
Assignment operator.
ModuleChild(const lldb::ModuleSP &module_sp)
Construct with owning module.
lldb::ModuleWP m_module_wp
The Module that owns the object that inherits from this class.
Definition ModuleChild.h:49
lldb::ModuleSP GetModule() const
Get const accessor for the module pointer.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Module > ModuleSP