[llvm] Fix bazel build unique function test caused by #ef3e521 (PR #132726)

Karlo Basioli via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 24 05:30:56 PDT 2025


https://github.com/basioli-k created https://github.com/llvm/llvm-project/pull/132726

None

>From c182557568bd6bc8f3d5ee82f68797220659c7ef Mon Sep 17 00:00:00 2001
From: basioli-k <k.basioli at gmail.com>
Date: Mon, 24 Mar 2025 11:56:11 +0000
Subject: [PATCH 1/2] Fix blaze build caused by commit 5d8e8e8

---
 utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel b/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
index 791bca34fe33b..d03406d30ffe4 100644
--- a/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
@@ -67,7 +67,7 @@ cc_library(
         "lib/orc/error.h",
         "lib/orc/executor_address.h",
         "lib/orc/executor_symbol_def.h",
-        "lib/orc/extensible_rtti.h",
+        "lib/orc/rtti.h",
         "lib/orc/interval_map.h",
         "lib/orc/interval_set.h",
         "lib/orc/jit_dispatch.h",
@@ -85,7 +85,7 @@ cc_library(
     srcs = [
         "lib/orc/debug.cpp",
         "lib/orc/dlfcn_wrapper.cpp",
-        "lib/orc/extensible_rtti.cpp",
+        "lib/orc/rtti.cpp",
         "lib/orc/log_error_to_stderr.cpp",
         "lib/orc/run_program_wrapper.cpp",
     ] + select({

>From a3e2f93c3935829809974fb746cd7d1f3ea9a61d Mon Sep 17 00:00:00 2001
From: basioli-k <k.basioli at gmail.com>
Date: Mon, 24 Mar 2025 12:28:36 +0000
Subject: [PATCH 2/2] Fix bazel build issue for unique function test caused in
 #ef3e521

---
 utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel b/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
index d03406d30ffe4..765cde42dd062 100644
--- a/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
@@ -75,6 +75,7 @@ cc_library(
         "lib/orc/simple_packed_serialization.h",
         "lib/orc/stl_extras.h",
         "lib/orc/string_pool.h",
+        "lib/orc/unique_function.h",
         "lib/orc/wrapper_function_utils.h",
     ],
     strip_include_prefix = "lib/orc",



More information about the llvm-commits mailing list