Path: blob/main/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h
39646 views
//===-- DynamicLoaderWasmDYLD.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 liblldb_Plugins_DynamicLoaderWasmDYLD_h_9#define liblldb_Plugins_DynamicLoaderWasmDYLD_h_1011#include "lldb/Target/DynamicLoader.h"1213namespace lldb_private {14namespace wasm {1516class DynamicLoaderWasmDYLD : public DynamicLoader {17public:18DynamicLoaderWasmDYLD(Process *process);1920static void Initialize();21static void Terminate() {}2223static llvm::StringRef GetPluginNameStatic() { return "wasm-dyld"; }24static llvm::StringRef GetPluginDescriptionStatic();2526static DynamicLoader *CreateInstance(Process *process, bool force);2728/// DynamicLoader29/// \{30void DidAttach() override;31void DidLaunch() override {}32Status CanLoadImage() override { return Status(); }33lldb::ThreadPlanSP GetStepThroughTrampolinePlan(Thread &thread,34bool stop) override;35lldb::ModuleSP LoadModuleAtAddress(const lldb_private::FileSpec &file,36lldb::addr_t link_map_addr,37lldb::addr_t base_addr,38bool base_addr_is_offset) override;3940/// \}4142/// PluginInterface protocol.43/// \{44llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }45/// \}46};4748} // namespace wasm49} // namespace lldb_private5051#endif // liblldb_Plugins_DynamicLoaderWasmDYLD_h_525354