LLVM  10.0.0svn
ABIBreak.cpp
Go to the documentation of this file.
1 //===----- lib/Support/ABIBreak.cpp - EnableABIBreakingChecks -------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "llvm/Config/abi-breaking.h"
10 
11 #ifndef _MSC_VER
12 namespace llvm {
13 
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
19 #else
20 int DisableABIBreakingChecks;
21 #endif
22 
23 } // end namespace llvm
24 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:23
int EnableABIBreakingChecks
Definition: ABIBreak.cpp:18