[llvm] [bazel][libc] Port b7d6438450a3e2f4a6be4a0585ea364d72313412 (PR #194736)

Jackson Stogel via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 15:04:10 PDT 2026


https://github.com/jtstogel created https://github.com/llvm/llvm-project/pull/194736

None

>From db3389354ca647b30fdb68ccf31db19543e414f6 Mon Sep 17 00:00:00 2001
From: jtstogel <jtstogel at google.com>
Date: Tue, 28 Apr 2026 15:03:30 -0700
Subject: [PATCH] [bazel][libc] Port b7d6438450a3e2f4a6be4a0585ea364d72313412

---
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 635733e8f86c6..a7499edaf0c2a 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -2257,6 +2257,16 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_threads_identifier",
+    hdrs = ["src/__support/threads/identifier.h"],
+    deps = [
+        ":__support_macros_optimization",
+        ":__support_osutil_syscall",
+        ":types_pid_t",
+    ],
+)
+
 libc_support_library(
     name = "__support_threads_mutex_common",
     hdrs = ["src/__support/threads/mutex_common.h"],
@@ -2271,12 +2281,16 @@ libc_support_library(
         "//conditions:default": ["@platforms//:incompatible"],
     }),
     deps = [
+        ":__support_cpp_atomic",
         ":__support_cpp_optional",
         ":__support_libc_assert",
         ":__support_macros_config",
+        ":__support_macros_optimization",
+        ":__support_threads_identifier",
         ":__support_threads_mutex_common",
         ":__support_threads_raw_mutex",
         ":types_pid_t",
+        ":types_size_t",
     ],
 )
 



More information about the llvm-commits mailing list