//===-- TraceExporterCTF.cpp ----------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// #include "TraceExporterCTF.h" #include <memory> #include "CommandObjectThreadTraceExportCTF.h" #include "lldb/Core/PluginManager.h" usingnamespacelldb; usingnamespacelldb_private; usingnamespacelldb_private::ctf; usingnamespacellvm; LLDB_PLUGIN_DEFINE(…) //------------------------------------------------------------------ // PluginInterface protocol //------------------------------------------------------------------ static CommandObjectSP GetThreadTraceExportCommand(CommandInterpreter &interpreter) { … } void TraceExporterCTF::Initialize() { … } void TraceExporterCTF::Terminate() { … } Expected<TraceExporterUP> TraceExporterCTF::CreateInstance() { … }