[llvm] [Bazel] Add more llvm tools (PR #163228)
    Jordan Rupprecht via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Oct 20 08:35:08 PDT 2025
    
    
  
================
@@ -5671,6 +5671,57 @@ cc_binary(
     ],
 )
 
+cc_binary(
+    name = "llvm-sim",
+    testonly = True,
+    srcs = glob([
+        "tools/llvm-sim/*.cpp",
+    ]),
+    copts = llvm_copts,
+    stamp = 0,
+    deps = [
+        ":Analysis",
+        ":Core",
+        ":IRReader",
+        ":Support",
+        ":config",
+    ],
+)
+
+cc_binary(
+    name = "llvm-ir2vec",
+    testonly = True,
+    srcs = glob([
+        "tools/llvm-ir2vec/*.cpp",
+    ]),
+    copts = llvm_copts,
+    stamp = 0,
+    deps = [
+        ":Analysis",
+        ":Core",
+        ":IRReader",
+        ":Support",
+        ":config",
+    ],
+)
+
+cc_binary(
+    name = "llvm-ctxprof-util",
+    testonly = True,
----------------
rupprecht wrote:
The commit description in a737b8704c031310460d492cef90eee5054cabd7 explicitly describes this as a test tool, so this one is definitely OK.
https://github.com/llvm/llvm-project/pull/163228
    
    
More information about the llvm-commits
mailing list