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