From c6a132a8023db649a658aeceb2edaf046097dbff Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 29 Mar 2023 15:03:22 +0200 Subject: [PATCH] [bazel] Port ab49747f9d67 --- utils/bazel/llvm-project-overlay/clang/BUILD.bazel | 3 +++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel index a7800ac..8014f2c 100644 --- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel @@ -483,6 +483,7 @@ cc_library( ":diagnostic_defs_gen", ":sema_attr_gen", "//llvm:Core", + "//llvm:FrontendDebug", "//llvm:FrontendOpenMP", "//llvm:Instrumentation", "//llvm:MC", @@ -1391,6 +1392,7 @@ cc_library( ":parse", ":static_analyzer_checkers_gen", "//llvm:BinaryFormat", + "//llvm:FrontendDebug", "//llvm:Instrumentation", "//llvm:MC", "//llvm:Object", @@ -1574,6 +1576,7 @@ cc_library( "//llvm:BitstreamReader", "//llvm:BitstreamWriter", "//llvm:Core", + "//llvm:FrontendDebug", "//llvm:Linker", "//llvm:MC", "//llvm:Option", diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel index 80d5d67..160c94d 100644 --- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel @@ -1329,6 +1329,20 @@ cc_library( ) cc_library( + name = "FrontendDebug", + srcs = glob([ + "lib/Frontend/Debug/*.cpp", + ]), + hdrs = glob([ + "include/llvm/Frontend/Debug/*.h", + ]), + copts = llvm_copts, + deps = [ + ":Support", + ], +) + +cc_library( name = "FrontendHLSL", srcs = glob([ "lib/Frontend/HLSL/*.cpp", -- 2.7.4