[llvm] [Bazel] Fixes 45f1b25 (PR #214816)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 11:57:29 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: forking-google-bazel-bot[bot]

<details>
<summary>Changes</summary>

This fixes 45f1b25a0d069a2cee0632e1d1df4ff3342f136e (#<!-- -->210373).

Buildkite error link: https://buildkite.com/llvm-project/upstream-bazel/builds?commit=45f1b25a0d069a2cee0632e1d1df4ff3342f136e


---
Full diff: https://github.com/llvm/llvm-project/pull/214816.diff


1 Files Affected:

- (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+27) 


``````````diff
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 0ac528088c06f..50b9a278144e1 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -955,6 +955,11 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_macros_hardening",
+    hdrs = ["src/__support/macros/hardening.h"],
+)
+
 libc_support_library(
     name = "__support_macros_optimization",
     hdrs = ["src/__support/macros/optimization.h"],
@@ -992,6 +997,7 @@ libc_support_library(
         ":__support_cpp_bit",
         ":__support_macros_attributes",
         ":__support_macros_config",
+        ":__support_macros_hardening",
         ":__support_macros_properties_architectures",
         ":__support_macros_properties_compiler",
         ":__support_macros_properties_os",
@@ -1460,6 +1466,17 @@ libc_support_library(
 libc_support_library(
     name = "__support_libc_assert",
     hdrs = ["src/__support/libc_assert.h"],
+    deps = [
+        ":__support_integer_to_string",
+        ":__support_macros_attributes",
+        ":__support_macros_config",
+        ":__support_macros_hardening",
+        ":__support_macros_macro_utils",
+        ":__support_macros_optimization",
+        ":__support_macros_properties_os",
+        ":__support_osutil_exit_hdrs",
+        ":__support_osutil_io",
+    ],
 )
 
 libc_support_library(
@@ -3248,6 +3265,15 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_osutil_exit_hdrs",
+    hdrs = ["src/__support/OSUtil/exit.h"],
+    deps = [
+        ":__support_common",
+        ":__support_macros_config",
+    ],
+)
+
 libc_support_library(
     name = "__support_osutil_exit",
     srcs = ["src/__support/OSUtil/linux/exit.cpp"],
@@ -3259,6 +3285,7 @@ libc_support_library(
     deps = [
         ":__support_common",
         ":__support_macros_config",
+        ":__support_osutil_exit_hdrs",
         ":__support_osutil_syscall",
     ],
 )

``````````

</details>


https://github.com/llvm/llvm-project/pull/214816


More information about the llvm-commits mailing list