annotate llvm/lib/Support/ABIBreak.cpp @ 181:df311c476dd5

CreateIdentifierInfo in ParseCbC (not yet worked)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 31 May 2020 12:30:11 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 //===----- lib/Support/ABIBreak.cpp - EnableABIBreakingChecks -------------===//
anatofuz
parents:
diff changeset
2 //
anatofuz
parents:
diff changeset
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
anatofuz
parents:
diff changeset
4 // See https://llvm.org/LICENSE.txt for license information.
anatofuz
parents:
diff changeset
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
anatofuz
parents:
diff changeset
6 //
anatofuz
parents:
diff changeset
7 //===----------------------------------------------------------------------===//
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 #include "llvm/Config/abi-breaking.h"
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 #ifndef _MSC_VER
anatofuz
parents:
diff changeset
12 namespace llvm {
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 // One of these two variables will be referenced by a symbol defined in
anatofuz
parents:
diff changeset
15 // llvm-config.h. We provide a link-time (or load time for DSO) failure when
anatofuz
parents:
diff changeset
16 // there is a mismatch in the build configuration of the API client and LLVM.
anatofuz
parents:
diff changeset
17 #if LLVM_ENABLE_ABI_BREAKING_CHECKS
anatofuz
parents:
diff changeset
18 int EnableABIBreakingChecks;
anatofuz
parents:
diff changeset
19 #else
anatofuz
parents:
diff changeset
20 int DisableABIBreakingChecks;
anatofuz
parents:
diff changeset
21 #endif
anatofuz
parents:
diff changeset
22
anatofuz
parents:
diff changeset
23 } // end namespace llvm
anatofuz
parents:
diff changeset
24 #endif