CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
2451 lines
64 KiB
Python
2451 lines
64 KiB
Python
# This file is licensed 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
|
|
load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
|
|
load("@rules_cc//cc:defs.bzl", "cc_library", "objc_library")
|
|
load("//mlir:tblgen.bzl", "gentbl_cc_library")
|
|
load(":plugin_config.bzl", "DEFAULT_PLUGINS", "DEFAULT_SCRIPT_PLUGINS", "OBJCPP_COPTS")
|
|
|
|
package(
|
|
default_visibility = ["//visibility:public"],
|
|
features = ["layering_check"],
|
|
)
|
|
|
|
licenses(["notice"])
|
|
|
|
cc_library(
|
|
name = "PluginHighlighterDefault",
|
|
srcs = glob(["Highlighter/Default/*.cpp"]),
|
|
hdrs = glob(["Highlighter/Default/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginHighlighterClang",
|
|
srcs = glob(["Highlighter/Clang/*.cpp"]),
|
|
hdrs = glob(["Highlighter/Clang/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//clang:basic",
|
|
"//clang:lex",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:Host",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjCLanguageHeaders",
|
|
hdrs = glob(["Language/ObjC/*.h"]),
|
|
features = ["-parse_headers"], # Would otherwise have circular dependencies
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginHighlighterClang",
|
|
"//lldb:CoreHeaders",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjCLanguage",
|
|
srcs = glob(["Language/ObjC/*.cpp"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginAppleObjCRuntime",
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginObjCLanguageHeaders",
|
|
":PluginObjCRuntime",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:ast",
|
|
"//clang:basic",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:DataFormattersHeaders",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Host",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginTypeSystemClangHeaders",
|
|
hdrs = glob(["TypeSystem/Clang/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginExpressionParserClangHeaders",
|
|
"//clang:ast",
|
|
"//clang:basic",
|
|
"//clang:frontend",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:UtilityHeaders",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginCPPRuntime",
|
|
srcs = glob(["LanguageRuntime/CPlusPlus/*.cpp"]),
|
|
hdrs = glob(["LanguageRuntime/CPlusPlus/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:codegen",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:DataFormattersHeaders",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjCRuntime",
|
|
srcs = glob(["LanguageRuntime/ObjC/*.cpp"]),
|
|
hdrs = glob(["LanguageRuntime/ObjC/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:ast",
|
|
"//lldb:BreakpointHeaders",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginAppleObjCRuntime",
|
|
srcs = glob(["LanguageRuntime/ObjC/AppleObjCRuntime/*.cpp"]),
|
|
hdrs = glob(["LanguageRuntime/ObjC/AppleObjCRuntime/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginCPPRuntime",
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginObjCLanguageHeaders",
|
|
":PluginObjCRuntime",
|
|
":PluginProcessUtility",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:ast",
|
|
"//clang:basic",
|
|
"//lldb:BreakpointHeaders",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:DataFormattersHeaders",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProtocolServerMCP",
|
|
srcs = glob(["Protocol/MCP/*.cpp"]),
|
|
hdrs = glob(["Protocol/MCP/*.h"]),
|
|
deps = [
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:ProtocolHeaders",
|
|
"//lldb:ProtocolMCP",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginTypeSystemClang",
|
|
srcs = glob(["TypeSystem/Clang/*.cpp"]),
|
|
deps = [
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginObjCRuntime",
|
|
":PluginSymbolFileDWARF",
|
|
":PluginSymbolFileDWARFHeaders",
|
|
":PluginSymbolFileNativePDBHeaders",
|
|
":PluginSymbolFilePDBHeaders",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:ast",
|
|
"//clang:basic",
|
|
"//clang:frontend",
|
|
"//clang:lex",
|
|
"//clang:sema",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Host",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginExpressionParserClangHeaders",
|
|
hdrs = glob(["ExpressionParser/Clang/*.h"]),
|
|
features = ["-parse_headers"], # Would otherwise have circular dependencies
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:DataFormattersHeaders",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginExpressionParserClang",
|
|
srcs = glob(["ExpressionParser/Clang/*.cpp"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginCPPRuntime",
|
|
":PluginCPlusPlusLanguageHeaders",
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginObjCRuntime",
|
|
":PluginPlatformMacOSX",
|
|
":PluginTypeSystemClang",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:ast",
|
|
"//clang:basic",
|
|
"//clang:codegen",
|
|
"//clang:config",
|
|
"//clang:driver",
|
|
"//clang:edit",
|
|
"//clang:frontend",
|
|
"//clang:frontend_rewrite",
|
|
"//clang:lex",
|
|
"//clang:options",
|
|
"//clang:parse",
|
|
"//clang:rewrite",
|
|
"//clang:sema",
|
|
"//clang:serialization",
|
|
"//lldb:Core",
|
|
"//lldb:DataFormatters",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Core",
|
|
"//llvm:ExecutionEngine",
|
|
"//llvm:IPO",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "PlatformMacOSXProperties",
|
|
strip_include_prefix = "Platform/MacOSX",
|
|
tbl_outs = {
|
|
"Platform/MacOSX/PlatformMacOSXProperties.inc": ["-gen-lldb-property-defs"],
|
|
"Platform/MacOSX/PlatformMacOSXPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "Platform/MacOSX/PlatformMacOSXProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginPlatformMacOSXObjCXXHeaders",
|
|
hdrs = glob(["Platform/MacOSX/objcxx/*.h"]),
|
|
includes = [".."],
|
|
tags = ["nobuildkite"],
|
|
target_compatible_with = select({
|
|
"@platforms//os:macos": [],
|
|
"//conditions:default": ["@platforms//:incompatible"],
|
|
}),
|
|
deps = ["//lldb:Host"],
|
|
)
|
|
|
|
objc_library(
|
|
name = "PluginPlatformMacOSXObjCXX",
|
|
copts = OBJCPP_COPTS,
|
|
non_arc_srcs = glob(["Platform/MacOSX/objcxx/*.mm"]),
|
|
tags = ["nobuildkite"],
|
|
target_compatible_with = select({
|
|
"@platforms//os:macos": [],
|
|
"//conditions:default": ["@platforms//:incompatible"],
|
|
}),
|
|
deps = [
|
|
":PluginPlatformMacOSXObjCXXHeaders",
|
|
"//lldb:Host",
|
|
"//lldb:HostMacOSXPrivateHeaders",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginPlatformMacOSX",
|
|
srcs = glob(
|
|
["Platform/MacOSX/*.cpp"],
|
|
exclude = ["Platform/MacOSX/PlatformAppleSimulator.cpp"],
|
|
) +
|
|
select({
|
|
"@platforms//os:macos": ["Platform/MacOSX/PlatformAppleSimulator.cpp"],
|
|
"//conditions:default": [],
|
|
}),
|
|
hdrs = glob(["Platform/MacOSX/*.h"]),
|
|
features = ["-parse_headers"], # TODO: Attempt to fix in a way that works cross platform
|
|
includes = [".."],
|
|
tags = ["nobuildkite"],
|
|
deps = [
|
|
":PlatformMacOSXProperties",
|
|
":PluginDynamicLoaderDarwinKernelHeaders",
|
|
":PluginObjectContainerMachOFileset",
|
|
":PluginPlatformPOSIX",
|
|
"//clang:driver_options_inc_gen",
|
|
"//lldb:BreakpointHeaders",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
] + select({
|
|
"@platforms//os:macos": [
|
|
":PluginPlatformMacOSXObjCXX",
|
|
":PluginPlatformMacOSXObjCXXHeaders",
|
|
"//lldb:HostMacOSXPrivateHeaders",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "SymbolFileDWARFProperties",
|
|
strip_include_prefix = "SymbolFile/DWARF",
|
|
tbl_outs = {
|
|
"SymbolFile/DWARF/SymbolFileDWARFProperties.inc": ["-gen-lldb-property-defs"],
|
|
"SymbolFile/DWARF/SymbolFileDWARFPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "SymbolFile/DWARF/SymbolFileDWARFProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFileDWARFHeaders",
|
|
hdrs = glob(["SymbolFile/DWARF/*.h"]),
|
|
features = ["-parse_headers"], # Would otherwise have circular dependencies
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Core",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFileDWARF",
|
|
srcs = glob(["SymbolFile/DWARF/*.cpp"]),
|
|
deps = [
|
|
":PluginCPlusPlusLanguageHeaders",
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginObjCLanguageHeaders",
|
|
":PluginSymbolFileDWARFHeaders",
|
|
":PluginTypeSystemClangHeaders",
|
|
":SymbolFileDWARFProperties",
|
|
"//clang:ast",
|
|
"//clang:basic",
|
|
"//lldb:Core",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:DebugInfoDWARF",
|
|
"//llvm:Demangle",
|
|
"//llvm:Object",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessUtility",
|
|
srcs = glob(["Process/Utility/*.cpp"]),
|
|
hdrs = glob(["Process/Utility/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:BreakpointHeaders",
|
|
"//lldb:Core",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFilePDB",
|
|
srcs = glob(["ObjectFile/PDB/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/PDB/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:DebugInfoPDB",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFileNativePDBHeaders",
|
|
hdrs = glob(["SymbolFile/NativePDB/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginExpressionParserClangHeaders",
|
|
"//lldb:Core",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:UtilityHeaders",
|
|
"//llvm:DebugInfoCodeView",
|
|
"//llvm:DebugInfoPDB",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFileNativePDB",
|
|
srcs = glob(["SymbolFile/NativePDB/*.cpp"]),
|
|
deps = [
|
|
":PluginCPlusPlusLanguageHeaders",
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginObjectFilePDB",
|
|
":PluginProcessUtility",
|
|
":PluginSymbolFileNativePDBHeaders",
|
|
":PluginSymbolFilePDBHeaders",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Core",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:DebugInfoCodeView",
|
|
"//llvm:DebugInfoMSF",
|
|
"//llvm:DebugInfoPDB",
|
|
"//llvm:Demangle",
|
|
"//llvm:Object",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFilePDBHeaders",
|
|
hdrs = glob(["SymbolFile/PDB/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginExpressionParserClangHeaders",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:UtilityHeaders",
|
|
"//llvm:DebugInfoPDB",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "SymbolFilePDBProperties",
|
|
strip_include_prefix = "SymbolFile/PDB",
|
|
tbl_outs = {
|
|
"SymbolFile/PDB/SymbolFilePDBProperties.inc": ["-gen-lldb-property-defs"],
|
|
"SymbolFile/PDB/SymbolFilePDBPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "SymbolFile/PDB/SymbolFilePDBProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFilePDB",
|
|
srcs = glob(["SymbolFile/PDB/*.cpp"]),
|
|
deps = [
|
|
":PluginCPlusPlusLanguageHeaders",
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginSymbolFileNativePDB",
|
|
":PluginSymbolFileNativePDBHeaders",
|
|
":PluginSymbolFilePDBHeaders",
|
|
":PluginTypeSystemClangHeaders",
|
|
":SymbolFilePDBProperties",
|
|
"//clang:ast",
|
|
"//clang:lex",
|
|
"//lldb:Core",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:DebugInfoCodeView",
|
|
"//llvm:DebugInfoPDB",
|
|
"//llvm:config",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "ProcessGDBRemoteProperties",
|
|
strip_include_prefix = "Process/gdb-remote",
|
|
tbl_outs = {
|
|
"Process/gdb-remote/ProcessGDBRemoteProperties.inc": ["-gen-lldb-property-defs"],
|
|
"Process/gdb-remote/ProcessGDBRemotePropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "Process/gdb-remote/ProcessGDBRemoteProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessGDBRemote",
|
|
srcs = glob(["Process/gdb-remote/*.cpp"]),
|
|
hdrs = glob(["Process/gdb-remote/*.h"]) + [
|
|
"Process/gdb-remote/GDBRemoteErrno.def",
|
|
],
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
":ProcessGDBRemoteProperties",
|
|
"//lldb:BreakpointHeaders",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:DataFormattersHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
"//llvm:config",
|
|
"//third-party:zlib",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessWasm",
|
|
srcs = glob(["Process/wasm/*.cpp"]),
|
|
hdrs = glob(["Process/wasm/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessGDBRemote",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:Headers",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectContainerMachOArchive",
|
|
srcs = glob(["ObjectContainer/Universal-Mach-O/*.cpp"]),
|
|
hdrs = glob(["ObjectContainer/Universal-Mach-O/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectContainerBSDArchive",
|
|
srcs = glob(["ObjectContainer/BSD-Archive/*.cpp"]),
|
|
hdrs = glob(["ObjectContainer/BSD-Archive/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Object",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectContainerMachOFileset",
|
|
srcs = glob(["ObjectContainer/Mach-O-Fileset/*.cpp"]),
|
|
hdrs = glob(["ObjectContainer/Mach-O-Fileset/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "StructuredDataDarwinLogProperties",
|
|
strip_include_prefix = "StructuredData/DarwinLog",
|
|
tbl_outs = {
|
|
"StructuredData/DarwinLog/StructuredDataDarwinLogProperties.inc": ["-gen-lldb-property-defs"],
|
|
"StructuredData/DarwinLog/StructuredDataDarwinLogPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "StructuredData/DarwinLog/StructuredDataDarwinLogProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginStructuredDataDarwinLog",
|
|
srcs = glob(["StructuredData/DarwinLog/*.cpp"]),
|
|
hdrs = glob(["StructuredData/DarwinLog/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":StructuredDataDarwinLogProperties",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginTraceCommon",
|
|
srcs = glob(["Trace/common/*.cpp"]),
|
|
hdrs = glob(["Trace/common/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginPlatformPOSIX",
|
|
srcs = glob(["Platform/POSIX/*.cpp"]),
|
|
hdrs = glob(["Platform/POSIX/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginPlatformGDB",
|
|
":PluginTypeSystemClang",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "PlatformQemuUserProperties",
|
|
strip_include_prefix = "Platform/QemuUser",
|
|
tbl_outs = {
|
|
"Platform/QemuUser/PlatformQemuUserProperties.inc": ["-gen-lldb-property-defs"],
|
|
"Platform/QemuUser/PlatformQemuUserPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "Platform/QemuUser/PlatformQemuUserProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginPlatformQemuUser",
|
|
srcs = glob(["Platform/QemuUser/*.cpp"]),
|
|
hdrs = glob(["Platform/QemuUser/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PlatformQemuUserProperties",
|
|
":PluginProcessGDBRemote",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginPlatformGDB",
|
|
srcs = glob(["Platform/gdb-server/*.cpp"]),
|
|
hdrs = glob(["Platform/gdb-server/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessGDBRemote",
|
|
":PluginProcessUtility",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginPlatformLinux",
|
|
srcs = glob(["Platform/Linux/*.cpp"]),
|
|
hdrs = glob(["Platform/Linux/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginPlatformPOSIX",
|
|
":PluginProcessUtility",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "PlatformAndroidProperties",
|
|
strip_include_prefix = "Platform/Android",
|
|
tbl_outs = {
|
|
"Platform/Android/PlatformAndroidProperties.inc": ["-gen-lldb-property-defs"],
|
|
"Platform/Android/PlatformAndroidPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "Platform/Android/PlatformAndroidProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginPlatformAndroid",
|
|
srcs = glob(["Platform/Android/*.cpp"]),
|
|
hdrs = glob(["Platform/Android/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PlatformAndroidProperties",
|
|
":PluginPlatformGDB",
|
|
":PluginPlatformLinux",
|
|
":PluginPlatformPOSIX",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginPlatformWindows",
|
|
srcs = glob(["Platform/Windows/*.cpp"]),
|
|
hdrs = glob(["Platform/Windows/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginPlatformGDB",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Host",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginMemoryHistoryASan",
|
|
srcs = glob(["MemoryHistory/asan/*.cpp"]),
|
|
hdrs = glob(["MemoryHistory/asan/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginInstrumentationRuntimeUtility",
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginClangREPL",
|
|
srcs = glob(["REPL/Clang/*.cpp"]),
|
|
hdrs = glob(["REPL/Clang/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginCPPRuntime",
|
|
":PluginHighlighterClang",
|
|
":PluginTypeSystemClang",
|
|
"//lldb:Core",
|
|
"//lldb:DataFormatters",
|
|
"//lldb:ExpressionHeaders",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:Target",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolVendorWasm",
|
|
srcs = glob(["SymbolVendor/wasm/*.cpp"]),
|
|
hdrs = glob(["SymbolVendor/wasm/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFileWasm",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolVendorMacOSX",
|
|
srcs = glob(["SymbolVendor/MacOSX/*.cpp"]),
|
|
hdrs = glob(["SymbolVendor/MacOSX/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFileMachO",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolVendorPECOFF",
|
|
srcs = glob(["SymbolVendor/PECOFF/*.cpp"]),
|
|
hdrs = glob(["SymbolVendor/PECOFF/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFilePECOFF",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolVendorELF",
|
|
srcs = glob(["SymbolVendor/ELF/*.cpp"]),
|
|
hdrs = glob(["SymbolVendor/ELF/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFileELF",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjCPlusPlusLanguage",
|
|
srcs = glob(["Language/ObjCPlusPlus/*.cpp"]),
|
|
hdrs = glob(["Language/ObjCPlusPlus/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginHighlighterClang",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "LanguageCPlusPlusProperties",
|
|
strip_include_prefix = "Language/CPlusPlus",
|
|
tbl_outs = {
|
|
"Language/CPlusPlus/LanguageCPlusPlusProperties.inc": ["-gen-lldb-property-defs"],
|
|
"Language/CPlusPlus/LanguageCPlusPlusPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "Language/CPlusPlus/LanguageCPlusPlusProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginCPlusPlusLanguageHeaders",
|
|
hdrs = glob(["Language/CPlusPlus/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginHighlighterClang",
|
|
"//clang:lex",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:DataFormatters",
|
|
"//lldb:Headers",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:UtilityHeaders",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginCPlusPlusLanguage",
|
|
srcs = glob(["Language/CPlusPlus/*.cpp"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":LanguageCPlusPlusProperties",
|
|
":PluginCPPRuntime",
|
|
":PluginCPlusPlusLanguageHeaders",
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginHighlighterClang",
|
|
":PluginTypeSystemClang",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:basic",
|
|
"//lldb:Core",
|
|
"//lldb:DataFormatters",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Demangle",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "TraceExporterCTFOptions",
|
|
strip_include_prefix = "TraceExporter/ctf",
|
|
tbl_outs = {"TraceExporter/ctf/TraceExporterCTFCommandOptions.inc": ["-gen-lldb-option-defs"]},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "TraceExporter/ctf/TraceExporterCTFOptions.td",
|
|
deps = [
|
|
"//lldb:CommandsTdFiles",
|
|
"//lldb:CoreTdFiles",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginTraceExporterCTF",
|
|
srcs = glob(["TraceExporter/ctf/*.cpp"]),
|
|
hdrs = glob(["TraceExporter/ctf/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginTraceExporterCommon",
|
|
":TraceExporterCTFOptions",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginTraceExporterCommon",
|
|
srcs = glob(["TraceExporter/common/*.cpp"]),
|
|
hdrs = glob(["TraceExporter/common/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIPowerPC",
|
|
srcs = glob(["ABI/PowerPC/*.cpp"]),
|
|
hdrs = glob(["ABI/PowerPC/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
":PluginTypeSystemClang",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:ast",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIHexagon",
|
|
srcs = glob(["ABI/Hexagon/*.cpp"]),
|
|
hdrs = glob(["ABI/Hexagon/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Core",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIMips",
|
|
srcs = glob(["ABI/Mips/*.cpp"]),
|
|
hdrs = glob(["ABI/Mips/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIMSP430",
|
|
srcs = glob(["ABI/MSP430/*.cpp"]),
|
|
hdrs = glob(["ABI/MSP430/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Core",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIX86",
|
|
srcs = glob(["ABI/X86/*.cpp"]),
|
|
hdrs = glob(["ABI/X86/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIARM",
|
|
srcs = glob(["ABI/ARM/*.cpp"]),
|
|
hdrs = glob(["ABI/ARM/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIARC",
|
|
srcs = glob(["ABI/ARC/*.cpp"]),
|
|
hdrs = glob(["ABI/ARC/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Core",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIRISCV",
|
|
srcs = glob(["ABI/RISCV/*.cpp"]),
|
|
hdrs = glob(["ABI/RISCV/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Core",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABISystemZ",
|
|
srcs = glob(["ABI/SystemZ/*.cpp"]),
|
|
hdrs = glob(["ABI/SystemZ/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginABIAArch64",
|
|
srcs = glob(["ABI/AArch64/*.cpp"]),
|
|
hdrs = glob(["ABI/AArch64/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderPosixDYLDHeaders",
|
|
hdrs = glob(["DynamicLoader/POSIX-DYLD/*.h"]),
|
|
features = ["-parse_headers"], # Would otherwise have circular dependencies
|
|
includes = [".."],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderPosixDYLD",
|
|
srcs = glob(["DynamicLoader/POSIX-DYLD/*.cpp"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginDynamicLoaderPosixDYLDHeaders",
|
|
":PluginObjectFileELF",
|
|
":PluginObjectFilePlaceholder",
|
|
":PluginProcessElfCore",
|
|
":PluginProcessUtility",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderWindowsDYLD",
|
|
srcs = glob(["DynamicLoader/Windows-DYLD/*.cpp"]),
|
|
hdrs = glob(["DynamicLoader/Windows-DYLD/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderHexagonDYLD",
|
|
srcs = glob(["DynamicLoader/Hexagon-DYLD/*.cpp"]),
|
|
hdrs = glob(["DynamicLoader/Hexagon-DYLD/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderWasmDYLD",
|
|
srcs = glob(["DynamicLoader/wasm-DYLD/*.cpp"]),
|
|
hdrs = glob(["DynamicLoader/wasm-DYLD/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFileWasm",
|
|
"//lldb:Core",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderStatic",
|
|
srcs = glob(["DynamicLoader/Static/*.cpp"]),
|
|
hdrs = glob(["DynamicLoader/Static/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderMacOSXDYLD",
|
|
srcs = glob(["DynamicLoader/MacOSX-DYLD/*.cpp"]),
|
|
hdrs = glob(["DynamicLoader/MacOSX-DYLD/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjCRuntime",
|
|
":PluginTypeSystemClang",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "DynamicLoaderDarwinKernelProperties",
|
|
strip_include_prefix = "DynamicLoader/Darwin-Kernel",
|
|
tbl_outs = {
|
|
"DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.inc": ["-gen-lldb-property-defs"],
|
|
"DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderDarwinKernelHeaders",
|
|
hdrs = glob(["DynamicLoader/Darwin-Kernel/*.h"]),
|
|
features = ["-parse_headers"], # Would otherwise have circular dependencies
|
|
includes = [".."],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDynamicLoaderDarwinKernel",
|
|
srcs = glob(["DynamicLoader/Darwin-Kernel/*.cpp"]),
|
|
includes = [".."],
|
|
tags = ["nobuildkite"],
|
|
deps = [
|
|
":DynamicLoaderDarwinKernelProperties",
|
|
":PluginDynamicLoaderDarwinKernelHeaders",
|
|
":PluginObjectFileMachO",
|
|
":PluginPlatformMacOSX",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginArchitecturePPC64",
|
|
srcs = glob(["Architecture/PPC64/*.cpp"]),
|
|
hdrs = glob(["Architecture/PPC64/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginArchitectureMips",
|
|
srcs = glob(["Architecture/Mips/*.cpp"]),
|
|
hdrs = glob(["Architecture/Mips/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginArchitectureArm",
|
|
srcs = glob(["Architecture/Arm/*.cpp"]),
|
|
hdrs = glob(["Architecture/Arm/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginArchitectureAArch64",
|
|
srcs = glob(["Architecture/AArch64/*.cpp"]),
|
|
hdrs = glob(["Architecture/AArch64/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginDisassemblerLLVMC",
|
|
srcs = glob(["Disassembler/LLVMC/*.cpp"]),
|
|
hdrs = glob(["Disassembler/LLVMC/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:MC",
|
|
"//llvm:MCDisassembler",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFileSymtab",
|
|
srcs = glob(["SymbolFile/Symtab/*.cpp"]),
|
|
hdrs = glob(["SymbolFile/Symtab/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFileCTF",
|
|
srcs = glob(["SymbolFile/CTF/*.cpp"]),
|
|
hdrs = glob(["SymbolFile/CTF/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginExpressionParserClangHeaders",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:config",
|
|
"//third-party:zlib",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFileJSON",
|
|
srcs = glob(["SymbolFile/JSON/*.cpp"]),
|
|
hdrs = glob(["SymbolFile/JSON/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFileJSON",
|
|
"//lldb:Core",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolFileBreakpad",
|
|
srcs = glob(["SymbolFile/Breakpad/*.cpp"]),
|
|
hdrs = glob(["SymbolFile/Breakpad/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFileBreakpad",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstructionPPC64",
|
|
srcs = glob(["Instruction/PPC64/*.cpp"]),
|
|
hdrs = glob(["Instruction/PPC64/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstructionLoongArch",
|
|
srcs = glob(["Instruction/LoongArch/*.cpp"]),
|
|
hdrs = glob(["Instruction/LoongArch/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstructionMIPS",
|
|
srcs = glob(["Instruction/MIPS/*.cpp"]),
|
|
hdrs = glob(["Instruction/MIPS/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:MC",
|
|
"//llvm:MCDisassembler",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstructionMIPS64",
|
|
srcs = glob(["Instruction/MIPS64/*.cpp"]),
|
|
hdrs = glob(["Instruction/MIPS64/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:MC",
|
|
"//llvm:MCDisassembler",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstructionARM",
|
|
srcs = glob(["Instruction/ARM/*.cpp"]),
|
|
hdrs = glob(["Instruction/ARM/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstructionRISCV",
|
|
srcs = glob(["Instruction/RISCV/*.cpp"]),
|
|
hdrs = glob(["Instruction/RISCV/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstructionARM64",
|
|
srcs = glob(["Instruction/ARM64/*.cpp"]),
|
|
hdrs = glob(["Instruction/ARM64/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstrumentationRuntimeASanLibsanitizers",
|
|
srcs = glob(["InstrumentationRuntime/ASanLibsanitizers/*.cpp"]),
|
|
hdrs = glob(["InstrumentationRuntime/ASanLibsanitizers/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginInstrumentationRuntimeUtility",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstrumentationRuntimeTSan",
|
|
srcs = glob(["InstrumentationRuntime/TSan/*.cpp"]),
|
|
hdrs = glob(["InstrumentationRuntime/TSan/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstrumentationRuntimeASan",
|
|
srcs = glob(["InstrumentationRuntime/ASan/*.cpp"]),
|
|
hdrs = glob(["InstrumentationRuntime/ASan/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginInstrumentationRuntimeUtility",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstrumentationRuntimeMainThreadChecker",
|
|
srcs = glob(["InstrumentationRuntime/MainThreadChecker/*.cpp"]),
|
|
hdrs = glob(["InstrumentationRuntime/MainThreadChecker/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Headers",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstrumentationRuntimeUBSan",
|
|
srcs = glob(["InstrumentationRuntime/UBSan/*.cpp"]),
|
|
hdrs = glob(["InstrumentationRuntime/UBSan/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginInstrumentationRuntimeUtility",
|
|
srcs = glob(["InstrumentationRuntime/Utility/*.cpp"]),
|
|
hdrs = glob(["InstrumentationRuntime/Utility/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityHeaders",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "JITLoaderGDBProperties",
|
|
strip_include_prefix = "JITLoader/GDB",
|
|
tbl_outs = {
|
|
"JITLoader/GDB/JITLoaderGDBProperties.inc": ["-gen-lldb-property-defs"],
|
|
"JITLoader/GDB/JITLoaderGDBPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "JITLoader/GDB/JITLoaderGDBProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginJITLoaderGDB",
|
|
srcs = glob(["JITLoader/GDB/*.cpp"]),
|
|
hdrs = glob(["JITLoader/GDB/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":JITLoaderGDBProperties",
|
|
":PluginObjectFileMachO",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolLocatorDefault",
|
|
srcs = glob(["SymbolLocator/Default/*.cpp"]),
|
|
hdrs = glob(["SymbolLocator/Default/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFileWasm",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "SymbolLocatorDebuginfodProperties",
|
|
strip_include_prefix = "SymbolLocator/Debuginfod",
|
|
tbl_outs = {
|
|
"SymbolLocator/Debuginfod/SymbolLocatorDebuginfodProperties.inc": ["-gen-lldb-property-defs"],
|
|
"SymbolLocator/Debuginfod/SymbolLocatorDebuginfodPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "SymbolLocator/Debuginfod/SymbolLocatorDebuginfodProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolLocatorDebuginfod",
|
|
srcs = glob(["SymbolLocator/Debuginfod/*.cpp"]),
|
|
hdrs = glob(["SymbolLocator/Debuginfod/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":SymbolLocatorDebuginfodProperties",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Debuginfod",
|
|
"//llvm:HTTP",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "SymbolLocatorSymStoreProperties",
|
|
strip_include_prefix = "SymbolLocator/SymStore",
|
|
tbl_outs = {
|
|
"SymbolLocator/SymStore/SymbolLocatorSymStoreProperties.inc": ["-gen-lldb-property-defs"],
|
|
"SymbolLocator/SymStore/SymbolLocatorSymStorePropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "SymbolLocator/SymStore/SymbolLocatorSymStoreProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolLocatorSymStore",
|
|
srcs = glob(["SymbolLocator/SymStore/*.cpp"]),
|
|
hdrs = glob(["SymbolLocator/SymStore/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":SymbolLocatorSymStoreProperties",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:HTTP",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSymbolLocatorDebugSymbols",
|
|
srcs = glob(["SymbolLocator/DebugSymbols/*.cpp"]),
|
|
hdrs = glob(["SymbolLocator/DebugSymbols/*.h"]),
|
|
includes = [".."],
|
|
tags = ["nobuildkite"],
|
|
deps = [
|
|
":PluginObjectFileWasm",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:HostMacOSXPrivateHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
# TODO: python support
|
|
# cc_library(
|
|
# name = "PluginOperatingSystemPython",
|
|
# srcs = glob(["OperatingSystem/Python/*.cpp"]),
|
|
# hdrs = glob(["OperatingSystem/Python/*.h"]),
|
|
# includes = [".."],
|
|
# deps = [
|
|
# "//lldb:Core",
|
|
# "//lldb:Interpreter",
|
|
# ":PluginProcessUtility",
|
|
# "//lldb:Symbol",
|
|
# "//lldb:Target",
|
|
# ],
|
|
# )
|
|
# cc_library(
|
|
# name = "PluginScriptInterpreterPythonInterfaces",
|
|
# srcs = glob(["ScriptInterpreter/Python/Interfaces/*.cpp"]),
|
|
# hdrs = glob(["ScriptInterpreter/Python/Interfaces/*.h"]),
|
|
# includes = [".."],
|
|
# deps = [
|
|
# "//lldb:Core",
|
|
# "//lldb:Host",
|
|
# "//lldb:Interpreter",
|
|
# "//lldb:Target",
|
|
# "@rules_python//python/cc:current_py_cc_headers",
|
|
# "@rules_python//python/cc:current_py_cc_libs",
|
|
# ],
|
|
# )
|
|
# cc_library(
|
|
# name = "PluginScriptInterpreterPythonHeaders",
|
|
# hdrs = glob(["ScriptInterpreter/Python/*.h"]),
|
|
# includes = [".."],
|
|
# deps = [
|
|
# "//lldb:Host",
|
|
# ],
|
|
# )
|
|
# cc_library(
|
|
# name = "PluginScriptInterpreterPython",
|
|
# srcs = glob(["ScriptInterpreter/Python/*.cpp"]),
|
|
# local_defines = [
|
|
# 'LLDB_PYTHON_EXE_RELATIVE_PATH=\\"bin/python3\\"',
|
|
# # Must be kept in sync with WORKSPACE python version
|
|
# 'LLDB_PYTHON_RELATIVE_LIBDIR=\\"lib/python3.11/site-packages\\"',
|
|
# ],
|
|
# includes = [".."],
|
|
# deps = [
|
|
# "//lldb:Breakpoint",
|
|
# "//lldb:Core",
|
|
# "//lldb:DataFormatters",
|
|
# "//lldb:Host",
|
|
# "//lldb:Interpreter",
|
|
# ":PluginScriptInterpreterPythonHeaders",
|
|
# ":PluginScriptInterpreterPythonInterfaces",
|
|
# "//lldb:Target",
|
|
# ],
|
|
# )
|
|
|
|
# TODO: lua support
|
|
# cc_library(
|
|
# name = "PluginScriptInterpreterLua",
|
|
# srcs = glob(["ScriptInterpreter/Lua/*.cpp"]),
|
|
# hdrs = glob(["ScriptInterpreter/Lua/*.h"]),
|
|
# includes = [".."],
|
|
# deps = [
|
|
# "//lldb:Core",
|
|
# "//lldb:Interpreter",
|
|
# ],
|
|
# )
|
|
|
|
cc_library(
|
|
name = "PluginScriptInterpreterNone",
|
|
srcs = glob(["ScriptInterpreter/None/*.cpp"]),
|
|
hdrs = glob(["ScriptInterpreter/None/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginSystemRuntimeMacOSX",
|
|
srcs = glob(["SystemRuntime/MacOSX/*.cpp"]),
|
|
hdrs = glob(["SystemRuntime/MacOSX/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
":PluginTypeSystemClang",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFileCOFF",
|
|
srcs = glob(["ObjectFile/COFF/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/COFF/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:Utility",
|
|
"//llvm:Object",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFileWasm",
|
|
srcs = glob(["ObjectFile/wasm/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/wasm/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFileJSON",
|
|
srcs = glob(["ObjectFile/JSON/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/JSON/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFilePlaceholder",
|
|
srcs = glob(["ObjectFile/Placeholder/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/Placeholder/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFileMachO",
|
|
srcs = glob(["ObjectFile/Mach-O/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/Mach-O/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFileMinidump",
|
|
srcs = glob(["ObjectFile/Minidump/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/Minidump/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessMinidump",
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Object",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "ObjectFilePECOFFProperties",
|
|
strip_include_prefix = "ObjectFile/PECOFF",
|
|
tbl_outs = {
|
|
"ObjectFile/PECOFF/ObjectFilePECOFFProperties.inc": ["-gen-lldb-property-defs"],
|
|
"ObjectFile/PECOFF/ObjectFilePECOFFPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "ObjectFile/PECOFF/ObjectFilePECOFFProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFilePECOFF",
|
|
srcs = glob(["ObjectFile/PECOFF/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/PECOFF/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":ObjectFilePECOFFProperties",
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Object",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFileBreakpad",
|
|
srcs = glob(["ObjectFile/Breakpad/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/Breakpad/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginObjectFileELF",
|
|
srcs = glob(["ObjectFile/ELF/*.cpp"]),
|
|
hdrs = glob(["ObjectFile/ELF/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Object",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginUnwindAssemblyX86",
|
|
srcs = glob(["UnwindAssembly/x86/*.cpp"]),
|
|
hdrs = glob(["UnwindAssembly/x86/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:MCDisassembler",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginUnwindAssemblyInstEmulation",
|
|
srcs = glob(["UnwindAssembly/InstEmulation/*.cpp"]),
|
|
hdrs = glob(["UnwindAssembly/InstEmulation/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessPOSIX",
|
|
srcs = glob(["Process/POSIX/*.cpp"]),
|
|
hdrs = glob(["Process/POSIX/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginProcessUtility",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessLinux",
|
|
srcs = glob(["Process/Linux/*.cpp"]),
|
|
hdrs = glob(["Process/Linux/*.h"]),
|
|
includes = [".."],
|
|
target_compatible_with = select({
|
|
"@platforms//os:linux": [],
|
|
"//conditions:default": ["@platforms//:incompatible"],
|
|
}),
|
|
deps = [
|
|
":PluginProcessPOSIX",
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
"//llvm:TargetParser",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginScriptedProcess",
|
|
srcs = glob(["Process/scripted/*.cpp"]),
|
|
hdrs = glob(["Process/scripted/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginObjectFilePlaceholder",
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:CoreHeaders",
|
|
"//lldb:Expression",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessMachCore",
|
|
srcs = glob(["Process/mach-core/*.cpp"]),
|
|
hdrs = glob(["Process/mach-core/*.h"]),
|
|
includes = [".."],
|
|
tags = ["nobuildkite"],
|
|
deps = [
|
|
":PluginDynamicLoaderDarwinKernelHeaders",
|
|
":PluginDynamicLoaderMacOSXDYLD",
|
|
":PluginDynamicLoaderStatic",
|
|
":PluginObjectFileMachO",
|
|
":PluginPlatformMacOSX",
|
|
":PluginProcessUtility",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessElfCore",
|
|
srcs = glob(["Process/elf-core/*.cpp"]),
|
|
hdrs = glob(["Process/elf-core/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginDynamicLoaderPosixDYLDHeaders",
|
|
":PluginObjectFileELF",
|
|
":PluginObjectFilePlaceholder",
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
gentbl_cc_library(
|
|
name = "ProcessKDPProperties",
|
|
strip_include_prefix = "Process/MacOSX-Kernel",
|
|
tbl_outs = {
|
|
"Process/MacOSX-Kernel/ProcessKDPProperties.inc": ["-gen-lldb-property-defs"],
|
|
"Process/MacOSX-Kernel/ProcessKDPPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
|
|
},
|
|
tblgen = "//lldb:lldb-tblgen",
|
|
td_file = "Process/MacOSX-Kernel/ProcessKDPProperties.td",
|
|
deps = ["//lldb:CoreTdFiles"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessMacOSXKernel",
|
|
srcs = glob(["Process/MacOSX-Kernel/*.cpp"]),
|
|
hdrs = glob(["Process/MacOSX-Kernel/*.h"]),
|
|
includes = [".."],
|
|
tags = ["nobuildkite"],
|
|
target_compatible_with = select({
|
|
"@platforms//os:macos": [],
|
|
"//conditions:default": ["@platforms//:incompatible"],
|
|
}),
|
|
deps = [
|
|
":PluginDynamicLoaderDarwinKernel",
|
|
":PluginDynamicLoaderDarwinKernelHeaders",
|
|
":PluginDynamicLoaderStatic",
|
|
":PluginProcessUtility",
|
|
":ProcessKDPProperties",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Symbol",
|
|
"//lldb:SymbolHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginProcessMinidump",
|
|
srcs = glob(["Process/minidump/*.cpp"]),
|
|
hdrs = glob(["Process/minidump/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginDynamicLoaderPosixDYLD",
|
|
":PluginDynamicLoaderPosixDYLDHeaders",
|
|
":PluginObjectFilePlaceholder",
|
|
":PluginProcessElfCore",
|
|
":PluginProcessUtility",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:InterpreterHeaders",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//lldb:UtilityPrivateHeaders",
|
|
"//llvm:BinaryFormat",
|
|
"//llvm:Object",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginGNUstepObjCRuntime",
|
|
srcs = glob(["LanguageRuntime/ObjC/GNUstepObjCRuntime/*.cpp"]),
|
|
hdrs = glob(["LanguageRuntime/ObjC/GNUstepObjCRuntime/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginExpressionParserClang",
|
|
":PluginObjCRuntime",
|
|
":PluginTypeSystemClang",
|
|
":PluginTypeSystemClangHeaders",
|
|
"//lldb:Breakpoint",
|
|
"//lldb:Core",
|
|
"//lldb:Expression",
|
|
"//lldb:Headers",
|
|
"//lldb:Host",
|
|
"//lldb:Symbol",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
"//lldb:Utility",
|
|
"//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginRegisterTypeBuilderClang",
|
|
srcs = glob(["RegisterTypeBuilder/*.cpp"]),
|
|
hdrs = glob(["RegisterTypeBuilder/*.h"]),
|
|
includes = [".."],
|
|
deps = [
|
|
":PluginTypeSystemClangHeaders",
|
|
"//clang:ast",
|
|
"//lldb:Core",
|
|
"//lldb:Headers",
|
|
"//lldb:Target",
|
|
"//lldb:TargetHeaders",
|
|
],
|
|
)
|
|
|
|
_DEFAULT_LOAD_PLUGINS = "\n".join(["LLDB_PLUGIN({})".format(x) for x in DEFAULT_PLUGINS]) + \
|
|
"\n" + "\n".join(["LLDB_SCRIPT_PLUGIN({})".format(x) for x in DEFAULT_SCRIPT_PLUGINS])
|
|
|
|
expand_template(
|
|
name = "plugins_config_gen",
|
|
out = "Plugins.def",
|
|
substitutions = {
|
|
"@LLDB_PROCESS_WINDOWS_PLUGIN@": "",
|
|
"@LLDB_PROCESS_GDB_PLUGIN@": "LLDB_PLUGIN(ProcessGDBRemote)",
|
|
} | select({
|
|
"@platforms//os:macos": {
|
|
"@LLDB_ENUM_PLUGINS@": _DEFAULT_LOAD_PLUGINS + """
|
|
LLDB_PLUGIN(ProcessMacOSXKernel)
|
|
LLDB_PLUGIN(SymbolLocatorDebugSymbols)
|
|
LLDB_PLUGIN(SymbolVendorMacOSX)
|
|
""",
|
|
},
|
|
"//conditions:default": {
|
|
"@LLDB_ENUM_PLUGINS@": _DEFAULT_LOAD_PLUGINS,
|
|
},
|
|
}),
|
|
template = "Plugins.def.in",
|
|
)
|
|
|
|
cc_library(
|
|
name = "PluginsConfig",
|
|
hdrs = [":plugins_config_gen"],
|
|
includes = [".."],
|
|
)
|