File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1212#ifndef LLVM_ABI_BREAKING_CHECKS_H
1313#define LLVM_ABI_BREAKING_CHECKS_H
1414
15+ #include "llvm/Support/Compiler.h"
16+
1517/* Define to enable checks that alter the LLVM C++ ABI */
1618#cmakedefine01 LLVM_ENABLE_ABI_BREAKING_CHECKS
1719
4345#endif
4446namespace llvm {
4547#if LLVM_ENABLE_ABI_BREAKING_CHECKS
46- extern int EnableABIBreakingChecks ;
48+ LLVM_ABI extern int EnableABIBreakingChecks ;
4749LLVM_HIDDEN_VISIBILITY
4850__attribute__((weak )) int * VerifyEnableABIBreakingChecks =
4951 & EnableABIBreakingChecks ;
5052#else
51- extern int DisableABIBreakingChecks ;
53+ LLVM_ABI extern int DisableABIBreakingChecks ;
5254LLVM_HIDDEN_VISIBILITY
5355__attribute__((weak )) int * VerifyDisableABIBreakingChecks =
5456 & DisableABIBreakingChecks ;
You can’t perform that action at this time.
0 commit comments