llvm.org GIT mirror llvm / 8441750
remove Cmake option for LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING This is a follow-up to my change in r295090, which added support for disabling these checks selectively based on setting the preprocessor macro without relying on the Cmake setting. Swift has moved over to use that approach, so we can clean up here and remove the Cmake setting. https://reviews.llvm.org/D30578 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297109 91177308-0d34-0410-b5e6-96231b3b80d8 Bob Wilson 3 years ago
2 changed file(s) with 2 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
395395 set(LLVM_ABI_BREAKING_CHECKS "WITH_ASSERTS" CACHE STRING
396396 "Enable abi-breaking checks. Can be WITH_ASSERTS, FORCE_ON or FORCE_OFF.")
397397
398 option(LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
399 "Disable abi-breaking checks mismatch detection at link-tim." OFF)
400
401398 option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
402399 "Set to ON to force using an old, unsupported host toolchain." OFF)
403400
1414 /* Define to enable checks that alter the LLVM C++ ABI */
1515 #cmakedefine01 LLVM_ENABLE_ABI_BREAKING_CHECKS
1616
17 /* Define to disable the link-time checking of mismatch for
18 LLVM_ENABLE_ABI_BREAKING_CHECKS */
19 #ifndef LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
20 #cmakedefine01 LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
21 #endif
17 /* Allow selectively disabling link-time mismatch checking so that header-only
18 ADT content from LLVM can be used without linking libSupport. */
2219 #if !LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
2320
2421 // ABI_BREAKING_CHECKS protection: provides link-time failure when clients build