/* * Copyright (c) 2021, Itamar S. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "DebugInfo.h" #include #include #include namespace Debug { struct LoadedLibrary { DeprecatedString name; NonnullRefPtr file; NonnullOwnPtr image; NonnullOwnPtr debug_info; FlatPtr base_address {}; LoadedLibrary(DeprecatedString const& name, NonnullRefPtr file, NonnullOwnPtr image, NonnullOwnPtr&& debug_info, FlatPtr base_address) : name(name) , file(move(file)) , image(move(image)) , debug_info(move(debug_info)) , base_address(base_address) { } }; }