1*dda28197Spatrick/*===- lldb/source/Plugin/Plugins.def ---------------------------*- C++ -*-===*\ 2*dda28197Spatrick|* *| 3*dda28197Spatrick|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *| 4*dda28197Spatrick|* Exceptions. *| 5*dda28197Spatrick|* See https://llvm.org/LICENSE.txt for license information. *| 6*dda28197Spatrick|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *| 7*dda28197Spatrick|* *| 8*dda28197Spatrick|*===----------------------------------------------------------------------===*| 9*dda28197Spatrick|* *| 10*dda28197Spatrick|* This file enumerates all of the plugins supported by this build of LLDB. *| 11*dda28197Spatrick|* Clients of this file should define the LLDB_PLUGIN macro to be a *| 12*dda28197Spatrick|* function-like macro with a single parameter (the name of the plugin) *| 13*dda28197Spatrick|* including this file will then enumerate all of the plugins. Script *| 14*dda28197Spatrick|* interpreter plugins can be enumerated separately by defining *| 15*dda28197Spatrick|* LLDB_SCRIPT_PLUGIN in which case they are not part of LLDB_PLUGIN. *| 16*dda28197Spatrick|* *| 17*dda28197Spatrick|* *| 18*dda28197Spatrick|* The set of plugins supported by LLDB is generated at configuration *| 19*dda28197Spatrick|* time, at which point this header is generated. Do not modify this *| 20*dda28197Spatrick|* header directly. *| 21*dda28197Spatrick|* *| 22*dda28197Spatrick\*===----------------------------------------------------------------------===*/ 23*dda28197Spatrick 24*dda28197Spatrick#ifndef LLDB_PLUGIN 25*dda28197Spatrick# error Please define the macro LLDB_PLUGIN(PluginName) 26*dda28197Spatrick#endif 27*dda28197Spatrick 28*dda28197Spatrick#ifndef LLDB_SCRIPT_PLUGIN 29*dda28197Spatrick#define LLDB_SCRIPT_PLUGIN(p) LLDB_PLUGIN(p) 30*dda28197Spatrick#endif 31*dda28197Spatrick 32*dda28197Spatrick@LLDB_ENUM_PLUGINS@ 33*dda28197Spatrick@LLDB_PROCESS_WINDOWS_PLUGIN@ 34*dda28197Spatrick@LLDB_PROCESS_GDB_PLUGIN@ 35*dda28197Spatrick 36*dda28197Spatrick#undef LLDB_PLUGIN 37*dda28197Spatrick#undef LLDB_SCRIPT_PLUGIN 38