brintos

brintos / llvm-project-archived public Read only

0
0
Text · 811 B · 247b635 Raw
25 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9#include "llvm/Config/abi-breaking.h"10 11#ifndef _MSC_VER12namespace llvm {13 14// One of these two variables will be referenced by a symbol defined in15// llvm-config.h. We provide a link-time (or load time for DSO) failure when16// there is a mismatch in the build configuration of the API client and LLVM.17#if LLVM_ENABLE_ABI_BREAKING_CHECKS18int EnableABIBreakingChecks;19#else20int DisableABIBreakingChecks;21#endif22 23} // end namespace llvm24#endif25