)
cc_library(
+ name = "Debug",
+ srcs = glob([
+ "lib/Debug/*.cpp",
+ "lib/Debug/*.h",
+ ]),
+ hdrs = glob(["include/mlir/Debug/*.h"]),
+ includes = ["include"],
+ deps = [
+ ":Support",
+ ":IR",
+ "//llvm:Support",
+ ],
+)
+
+cc_library(
name = "MlirLspServerSupportLib",
srcs = glob(
[
deps = [
":BytecodeReader",
":BytecodeWriter",
+ ":Debug",
":IR",
":Parser",
":Pass",
licenses(["notice"])
cc_test(
+ name = "debug_tests",
+ size = "small",
+ srcs = glob([
+ "Debug/*.cpp",
+ "Debug/*.h",
+ ]),
+ deps = [
+ "//llvm:TestingSupport",
+ "//mlir:Debug",
+ "//mlir:Support",
+ "//third-party/unittest:gmock",
+ "//third-party/unittest:gtest",
+ "//third-party/unittest:gtest_main",
+ ],
+)
+
+cc_test(
name = "ir_tests",
size = "small",
srcs = glob([
deps = [
"//llvm:Support",
"//mlir:IR",
+ "//mlir:Support",
"//mlir/test:TestDialect",
"//third-party/unittest:gmock",
"//third-party/unittest:gtest",