[llvm] [bazel] Port 8e999e3d7857ce131d03bab4fd5c42b0e8edd980 (PR #171946)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 11 16:48:39 PST 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/171946
Added a new preprocessor macro to llvm-config.h which needs to be reflected on the bazel side.
>From 2290c1aabff9578f81aa060007b10ae0d3d2c404 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 12 Dec 2025 00:47:52 +0000
Subject: [PATCH] [bazel] Port 8e999e3d7857ce131d03bab4fd5c42b0e8edd980
Added a new preprocessor macro to llvm-config.h which needs to be
reflected on the bazel side.
---
.../llvm/include/llvm/Config/llvm-config.h | 3 +++
utils/bazel/llvm_configs/llvm-config.h.cmake | 3 +++
2 files changed, 6 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h b/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h
index 49b4b191e2592..72159a648e06a 100644
--- a/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h
+++ b/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h
@@ -127,6 +127,9 @@
* in non assert builds */
#define LLVM_UNREACHABLE_OPTIMIZE 1
+/* Define if building LLVM with LLVM_ENABLE_IO_SANDBOX */
+/* LLVM_ENABLE_IO_SANDBOX */
+
/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
#define LLVM_ENABLE_DIA_SDK 0
diff --git a/utils/bazel/llvm_configs/llvm-config.h.cmake b/utils/bazel/llvm_configs/llvm-config.h.cmake
index 6488d6c01b5c6..9ac0115ee2184 100644
--- a/utils/bazel/llvm_configs/llvm-config.h.cmake
+++ b/utils/bazel/llvm_configs/llvm-config.h.cmake
@@ -126,6 +126,9 @@
* in non assert builds */
#cmakedefine01 LLVM_UNREACHABLE_OPTIMIZE
+/* Define if building LLVM with LLVM_ENABLE_IO_SANDBOX */
+#cmakedefine01 LLVM_ENABLE_IO_SANDBOX
+
/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
#cmakedefine01 LLVM_ENABLE_DIA_SDK
More information about the llvm-commits
mailing list