Skip to content

Commit 0f1b69b

Browse files
committed
Revert "[llvm] annotate ABIBreakingChecks symbols for DLL export (llvm#145575)"
This reverts commit 2447540.
1 parent 1469c33 commit 0f1b69b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

llvm/include/llvm/Config/abi-breaking.h.cmake

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
#ifndef LLVM_ABI_BREAKING_CHECKS_H
1313
#define LLVM_ABI_BREAKING_CHECKS_H
1414

15-
// Compiler.h is required for LLVM_ABI definition.
16-
#include "llvm/Support/Compiler.h"
17-
1815
/* Define to enable checks that alter the LLVM C++ ABI */
1916
#cmakedefine01 LLVM_ENABLE_ABI_BREAKING_CHECKS
2017

@@ -46,12 +43,12 @@
4643
#endif
4744
namespace llvm {
4845
#if LLVM_ENABLE_ABI_BREAKING_CHECKS
49-
LLVM_ABI extern int EnableABIBreakingChecks;
46+
extern int EnableABIBreakingChecks;
5047
LLVM_HIDDEN_VISIBILITY
5148
__attribute__((weak)) int *VerifyEnableABIBreakingChecks =
5249
&EnableABIBreakingChecks;
5350
#else
54-
LLVM_ABI extern int DisableABIBreakingChecks;
51+
extern int DisableABIBreakingChecks;
5552
LLVM_HIDDEN_VISIBILITY
5653
__attribute__((weak)) int *VerifyDisableABIBreakingChecks =
5754
&DisableABIBreakingChecks;

0 commit comments

Comments
 (0)