1 //===----- lib/Support/ABIBreak.cpp - EnableABIBreakingChecks -------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "llvm/Config/abi-breaking.h"
14 // One of these two variables will be referenced by a symbol defined in
15 // llvm-config.h. We provide a link-time (or load time for DSO) failure when
16 // there is a mismatch in the build configuration of the API client and LLVM.
17 #if LLVM_ENABLE_ABI_BREAKING_CHECKS
18 int EnableABIBreakingChecks
;
20 int DisableABIBreakingChecks
;
23 } // end namespace llvm