Revert "[bazel] Update after 24475409e4eac6fd60e2111424a4bef3452c8f21"

This reverts commit f71b188fbb256ab84aebfba9f7870c04b3a3d44d.

The corresponding commit was reverted by fa74df38ade4053534731ea1e00ffe900e9e9492.
This commit is contained in:
James Y Knight 2025-07-10 13:58:17 -04:00
parent d60da27400
commit ce571c90a0

View File

@ -12,9 +12,6 @@
#ifndef LLVM_ABI_BREAKING_CHECKS_H
#define LLVM_ABI_BREAKING_CHECKS_H
// Compiler.h is required for LLVM_ABI definition.
#include "llvm/Support/Compiler.h"
/* Define to enable checks that alter the LLVM C++ ABI */
#cmakedefine01 LLVM_ENABLE_ABI_BREAKING_CHECKS
@ -46,12 +43,12 @@
#endif
namespace llvm {
#if LLVM_ENABLE_ABI_BREAKING_CHECKS
LLVM_ABI extern int EnableABIBreakingChecks;
extern int EnableABIBreakingChecks;
LLVM_HIDDEN_VISIBILITY
__attribute__((weak)) int *VerifyEnableABIBreakingChecks =
&EnableABIBreakingChecks;
#else
LLVM_ABI extern int DisableABIBreakingChecks;
extern int DisableABIBreakingChecks;
LLVM_HIDDEN_VISIBILITY
__attribute__((weak)) int *VerifyDisableABIBreakingChecks =
&DisableABIBreakingChecks;