Debian Codegraph @

utils/bazel/llvm-project-overlay/lldb/source/Plugins/plugin_config.bzl

raw
1 # This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2 # See https://llvm.org/LICENSE.txt for license information.
3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5 """Common configuration for LLDB plugins."""
6
7 load("//:vars.bzl", "CMAKE_CXX_STANDARD")
8
9 DEFAULT_PLUGINS = [
10 "ABIAArch64",
11 "ABIARM",
12 "ABIHexagon",
13 "ABIMips",
14 "ABIMSP430",
15 "ABIPowerPC",
16 "ABIRISCV",
17 "ABISystemZ",
18 "ABIX86",
19 "AppleObjCRuntime",
20 "ArchitectureAArch64",
21 "ArchitectureArm",
22 "ArchitectureMips",
23 "ArchitecturePPC64",
24 "ClangREPL",
25 "CPlusPlusLanguage",
26 "CXXItaniumABI",
27 "DisassemblerLLVMC",
28 "DynamicLoaderDarwinKernel",
29 "DynamicLoaderHexagonDYLD",
30 "DynamicLoaderMacOSXDYLD",
31 "DynamicLoaderPosixDYLD",
32 "DynamicLoaderStatic",
33 "DynamicLoaderWasmDYLD",
34 "DynamicLoaderWindowsDYLD",
35 "GNUstepObjCRuntime",
36 "InstructionARM",
37 "InstructionARM64",
38 "InstructionLoongArch",
39 "InstructionMIPS",
40 "InstructionMIPS64",
41 "InstructionPPC64",
42 "InstructionRISCV",
43 "InstrumentationRuntimeASan",
44 "InstrumentationRuntimeASanLibsanitizers",
45 "InstrumentationRuntimeMainThreadChecker",
46 "InstrumentationRuntimeTSan",
47 "InstrumentationRuntimeUBSan",
48 "JITLoaderGDB",
49 "MemoryHistoryASan",
50 "ObjCLanguage",
51 "ObjCPlusPlusLanguage",
52 "ObjectContainerBSDArchive",
53 "ObjectContainerMachOArchive",
54 "ObjectContainerMachOFileset",
55 "ObjectFileBreakpad",
56 "ObjectFileCOFF",
57 "ObjectFileELF",
58 "ObjectFileJSON",
59 "ObjectFileMachO",
60 "ObjectFileMinidump",
61 "ObjectFilePDB",
62 "ObjectFilePECOFF",
63 "ObjectFilePlaceholder",
64 "ObjectFileWasm",
65 "PlatformAndroid",
66 "PlatformGDB",
67 "PlatformLinux",
68 "PlatformMacOSX",
69 "PlatformQemuUser",
70 "PlatformWindows",
71 "ProcessElfCore",
72 "ProcessMachCore",
73 "ProcessMinidump",
74 "RegisterTypeBuilderClang",
75 "ScriptedProcess",
76 "StructuredDataDarwinLog",
77 "SymbolFileBreakpad",
78 "SymbolFileCTF",
79 "SymbolFileDWARF",
80 "SymbolFileJSON",
81 "SymbolFilePDB",
82 "SymbolFileSymtab",
83 "SymbolLocatorDebuginfod",
84 "SymbolLocatorDefault",
85 "SymbolVendorELF",
86 "SymbolVendorPECOFF",
87 "SymbolVendorWasm",
88 "SystemRuntimeMacOSX",
89 "TraceExporterCTF",
90 "TypeSystemClang",
91 "UnwindAssemblyInstEmulation",
92 "UnwindAssemblyX86",
93 ]
94
95 DEFAULT_SCRIPT_PLUGINS = [
96 "ScriptInterpreterNone",
97 ]
98
99 OBJCPP_COPTS = [
100 "-std=c++{}".format(CMAKE_CXX_STANDARD),
101 "-fno-objc-exceptions",
102 "-Wno-shorten-64-to-32",
103 ]