Add llvm-gsymutil to the Bazel build files.

Differential Revision: https://reviews.llvm.org/D135568
This commit is contained in:
Simon Giesecke 2022-10-10 12:03:05 +02:00
parent d48e63074f
commit 2f46f50907

View File

@ -497,6 +497,22 @@ cc_library(
],
)
cc_library(
name = "DebugInfoGSYM",
srcs = glob([
"lib/DebugInfo/GSYM/*.cpp",
"lib/DebugInfo/GSYM/*.h",
]),
hdrs = glob(["include/llvm/DebugInfo/GSYM/*.h"]),
copts = llvm_copts,
deps = [
":DebugInfoDWARF",
":MC",
":Object",
":Support",
],
)
cc_library(
name = "Symbolize",
srcs = glob([
@ -3112,6 +3128,25 @@ cc_binary(
],
)
cc_binary(
name = "llvm-gsymutil",
srcs = glob([
"tools/llvm-gsymutil/*.cpp",
"tools/llvm-gsymutil/*.h",
]),
copts = llvm_copts,
stamp = 0,
deps = [
":AllTargetsCodeGens",
":DebugInfoDWARF",
":DebugInfoGSYM",
":MC",
":Object",
":Support",
":Target",
],
)
gentbl(
name = "IfsOptionsTableGen",
strip_include_prefix = "tools/llvm-ifs",