aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/Plugins/Plugins.def.in
blob: bf54598fb2f363218e52efb82790a08534c25fcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*===- lldb/source/Plugin/Plugins.def ---------------------------*- C++ -*-===*\
|*                                                                            *|
|* 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                    *|
|*                                                                            *|
|*===----------------------------------------------------------------------===*|
|*                                                                            *|
|* This file enumerates all of the plugins supported by this build of LLDB.   *|
|* Clients of this file should define the LLDB_PLUGIN macro to be a           *|
|* function-like macro with a single parameter (the name of the plugin)       *|
|* including this file will then enumerate all of the plugins. Script         *|
|* interpreter plugins can be enumerated separately by defining               *|
|* LLDB_SCRIPT_PLUGIN in which case they are not part of LLDB_PLUGIN.         *|
|*                                                                            *|
|*                                                                            *|
|* The set of plugins supported by LLDB is generated at configuration         *|
|* time, at which point this header is generated. Do not modify this          *|
|* header directly.                                                           *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

#ifndef LLDB_PLUGIN
#  error Please define the macro LLDB_PLUGIN(PluginName)
#endif

#ifndef LLDB_SCRIPT_PLUGIN
#define LLDB_SCRIPT_PLUGIN(p) LLDB_PLUGIN(p)
#endif

@LLDB_ENUM_PLUGINS@
@LLDB_PROCESS_WINDOWS_PLUGIN@
@LLDB_PROCESS_GDB_PLUGIN@

#undef LLDB_PLUGIN
#undef LLDB_SCRIPT_PLUGIN