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