Skip to content

Commit e13998f

Browse files
[bazel] Port 8e999e3 (#171946)
Added a new preprocessor macro to llvm-config.h which needs to be reflected on the bazel side.
1 parent a1b3586 commit e13998f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@
127127
* in non assert builds */
128128
#define LLVM_UNREACHABLE_OPTIMIZE 1
129129

130+
/* Define if building LLVM with LLVM_ENABLE_IO_SANDBOX */
131+
/* LLVM_ENABLE_IO_SANDBOX */
132+
130133
/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
131134
#define LLVM_ENABLE_DIA_SDK 0
132135

utils/bazel/llvm_configs/llvm-config.h.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@
126126
* in non assert builds */
127127
#cmakedefine01 LLVM_UNREACHABLE_OPTIMIZE
128128

129+
/* Define if building LLVM with LLVM_ENABLE_IO_SANDBOX */
130+
#cmakedefine01 LLVM_ENABLE_IO_SANDBOX
131+
129132
/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
130133
#cmakedefine01 LLVM_ENABLE_DIA_SDK
131134

0 commit comments

Comments
 (0)