From bf4d8d033bba496d139109e2ff922b3d54d1d014 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Fri, 18 Nov 2016 20:02:34 +0000 Subject: Revert "Add link-time detection of LLVM_ABI_BREAKING_CHECKS mismatch" This reverts commit r287352, LLDB CI is broken. llvm-svn: 287374 --- llvm/lib/Support/Error.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'llvm/lib/Support') diff --git a/llvm/lib/Support/Error.cpp b/llvm/lib/Support/Error.cpp index f818868b641..7436a1fd38e 100644 --- a/llvm/lib/Support/Error.cpp +++ b/llvm/lib/Support/Error.cpp @@ -112,19 +112,3 @@ void report_fatal_error(Error Err, bool GenCrashDiag) { } } - - -#ifndef _MSC_VER -namespace llvm { - -// One of these two variables will be referenced by a symbol defined in -// llvm-config.h. We provide a link-time (or load time for DSO) failure when -// there is a mismatch in the build configuration of the API client and LLVM. -#if LLVM_ENABLE_ABI_BREAKING_CHECKS -int EnableABIBreakingChecks; -#else -int DisableABIBreakingChecks; -#endif - -} // end namespace llvm -#endif \ No newline at end of file -- cgit v1.2.3