Skip to content

Commit 58aeb79

Browse files
authored
[bazel] Port 7b208e0 (#152033)
1 parent b757bc8 commit 58aeb79

File tree

1 file changed

+13
-0
lines changed
  • utils/bazel/llvm-project-overlay/lldb/source/Plugins

1 file changed

+13
-0
lines changed

utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,18 @@ cc_library(
420420
deps = ["//lldb:Core"],
421421
)
422422

423+
gentbl_cc_library(
424+
name = "SymbolFilePDBProperties",
425+
strip_include_prefix = "SymbolFile/PDB",
426+
tbl_outs = {
427+
"SymbolFile/PDB/SymbolFilePDBProperties.inc": ["-gen-lldb-property-defs"],
428+
"SymbolFile/PDB/SymbolFilePDBPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
429+
},
430+
tblgen = "//lldb:lldb-tblgen",
431+
td_file = "SymbolFile/PDB/SymbolFilePDBProperties.td",
432+
deps = ["//lldb:CoreTdFiles"],
433+
)
434+
423435
cc_library(
424436
name = "PluginSymbolFilePDB",
425437
srcs = glob(["SymbolFile/PDB/*.cpp"]),
@@ -430,6 +442,7 @@ cc_library(
430442
":PluginSymbolFileNativePDBHeaders",
431443
":PluginSymbolFilePDBHeaders",
432444
":PluginTypeSystemClangHeaders",
445+
":SymbolFilePDBProperties",
433446
"//clang:ast",
434447
"//clang:lex",
435448
"//lldb:Core",

0 commit comments

Comments
 (0)